Skip to content

Commit

Permalink
No server inheritance, place body size limits and proxy env into each…
Browse files Browse the repository at this point in the history
… server.
  • Loading branch information
perlDreamer committed Dec 31, 2011
1 parent a88e5c1 commit c4fb3c9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions wre/var/setupfiles/nginx.conf
Expand Up @@ -36,17 +36,7 @@ http {
proxy_pass http://localhost:[% starmanPort %];
}

server {
listen [% modproxyPort %];
server_name localhost;
client_max_body_size 20M;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;

}

##Include per-server vhost configuration files.
include [% wreRoot %]/etc/*.nginx

}

0 comments on commit c4fb3c9

Please sign in to comment.