Skip to content

Commit

Permalink
Fix the root directory for nginx on a per-server basis.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Feb 8, 2012
1 parent e93e26f commit fa658eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wre/var/setupfiles/nginx.template
Expand Up @@ -10,7 +10,7 @@ server {
listen [% config.get('nginx/port') %]; ## listen for ipv4

access_log [% domainRoot %]/[% sitename %]/logs/access.log combined;
root [% domainRoot %]/www.example.com/public;
root [% domainRoot %]/[% sitename %]/public;
client_max_body_size 20M;

# proxy webgui to starman listening on 127.0.0.1
Expand Down

0 comments on commit fa658eb

Please sign in to comment.