Skip to content

Commit c4fb3c9

Browse files
committedDec 31, 2011
No server inheritance, place body size limits and proxy env into each server.
1 parent a88e5c1 commit c4fb3c9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed
 

‎wre/var/setupfiles/nginx.conf

-10
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,7 @@ http {
3636
proxy_pass http://localhost:[% starmanPort %];
3737
}
3838

39-
server {
40-
listen [% modproxyPort %];
41-
server_name localhost;
42-
client_max_body_size 20M;
43-
proxy_set_header X-Real-IP $remote_addr;
44-
proxy_set_header Host $host;
45-
46-
}
47-
4839
##Include per-server vhost configuration files.
4940
include [% wreRoot %]/etc/*.nginx
5041

5142
}
52-

0 commit comments

Comments
 (0)