Está tentando instalar um servidor da web e um proxy com as seguintes configurações:
user www-data;
worker_processes 2;
error_log logs/error.log notice;
worker_rlimit_nofile 10240;
events { worker_connections 8192; use epoll; }
http {
include mime.types;
access_log off;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 0;
server_tokens off;
server_names_hash_bucket_size 64;
#//G
deny 64.233.160.0/19;
deny 66.102.0.0/20;
deny 66.249.64.0/19;
deny 72.14.192.0/18;
deny 74.125.0.0/16;
deny 89.207.224.0/24;
deny 193.142.125.0/24;
deny 194.110.194.0/24;
deny 209.85.128.0/17;
deny 216.239.32.0/19;
server {
listen 8080;
location ~* ^.+\.(gif|png|jpg)$ {
root /var/tmp/$host;
error_page 404 = @fetch;
}
location @fetch {
internal;
proxy_pass http://serverparkhosting.com:4480;
proxy_redirect off;
proxy_ignore_client_abort on;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_buffers 400 50k;
proxy_read_timeout 300;
proxy_send_timeout 300;
proxy_store /var/tmp/$host/$uri;
proxy_store_access user:rw group:rw all:r;
root /var/tmp/$host;
}
location / {
proxy_pass http://serverparkhosting.com:4480;
proxy_redirect off;
proxy_ignore_client_abort on;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_buffers 100 50k;
proxy_read_timeout 300;
proxy_send_timeout 300;
}
location = /info { stub_status on; }
}
}