server { listen 80; client_max_body_size 25M; location / { proxy_pass http://127.0.0.1:8000; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_redirect off; proxy_cache_bypass $http_upgrade; } location /static/ { alias /konova/static/; access_log /var/log/nginx/access.log; autoindex off; types { text/css css; application/javascript js; } } error_log /var/log/nginx/error.log; }