10-29-2015, 11:46 PM
Hello,
If you find the problem in this code you will get +1 rep from me
So have fun!
Note they're three things wrong with this code.
Find them and you get rep
Enjoy,
~ Network
If you find the problem in this code you will get +1 rep from me

So have fun!
Code:
server {
listen 80;
server_name www.domain.com;
server_name domain.com;
access_log off;
error_log off;
location / {
proxy_pass http://localhost/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addrr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_max_temp_file_size 0;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
}
Note they're three things wrong with this code.
Find them and you get rep

Enjoy,
~ Network