Closed (works as designed)
Project:
Barracuda
Component:
Nginx Server
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2013 at 20:09 UTC
Updated:
25 Mar 2013 at 12:24 UTC
I have a site that I've moved into a BOA server that has some custom scripts for an outside application. They need the app folder accessible through the domain name: e.g. example.com/customscript/ and be able to run PHP.
I think once I figure out where to put a custom vhost I'd only need to add a location directive like the one below. Does that look correct?
server {
location /customscript {
root /data/disk/o1/static/customscript;
index index.php
}
}
My question is where can I add this custom vhost if the site is hosted inside of Aegir? Do Nginx vhosts cascade or override if I have an extra config somewhere else?
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| install.log_.txt | 6.81 KB | jeremyr | |
| barracuda.cnf_.txt | 1.39 KB | jeremyr | |
| barracuda_log.txt | 419 bytes | jeremyr |
Comments
Comment #1
omega8cc commentedPlease read and follow the docs first. You should *not* add a
server {}section there, just a custom location, like we do for other exceptions in the standard configuration. This should do the trick:Comment #2
jeremyr commentedThanks! I think that did the trick.