Skip to content
Permalink
Browse files

Fix the root directory for nginx on a per-server basis.

  • Loading branch information...
perlDreamer committed Feb 8, 2012
1 parent e93e26f commit fa658ebbd2b6a2ad14f7425065fa37496bbef6d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 wre/var/setupfiles/nginx.template
@@ -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

0 comments on commit fa658eb

Please sign in to comment.
You can’t perform that action at this time.