server {
listen 10088;
server_name test.lan;
server_name_in_redirect off;
access_log /var/log/nginx/access.log main;
index index.php index.htm index.html;
error_page 500 502 503 504 /500.html;
error_page 404 /404.php;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host:10088;
client_max_body_size 1024M;
client_body_buffer_size 4M;
root /home/test/www;
} |