worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; access_log off; server { listen 10704; server_name localhost; location /robots.txt { expires max; add_header Pragma public; add_header Cache-Control "public, must-revalidate, proxy-revalidate"; alias /home/moin/var/html/robots.txt; } location /favicon.ico { expires max; add_header Pragma public; add_header Cache-Control "public, must-revalidate, proxy-revalidate"; alias /home/moin/var/html/favicon.ico; } location / { uwsgi_pass unix:///home/moin/var/uwsgi.sock; include uwsgi_params; } } }