Skip to content

Commit fa658eb

Browse files
committedFeb 8, 2012
Fix the root directory for nginx on a per-server basis.
1 parent e93e26f commit fa658eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎wre/var/setupfiles/nginx.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ server {
1010
listen [% config.get('nginx/port') %]; ## listen for ipv4
1111

1212
access_log [% domainRoot %]/[% sitename %]/logs/access.log combined;
13-
root [% domainRoot %]/www.example.com/public;
13+
root [% domainRoot %]/[% sitename %]/public;
1414
client_max_body_size 20M;
1515

1616
# proxy webgui to starman listening on 127.0.0.1

0 commit comments

Comments
 (0)
Please sign in to comment.