server { listen 0.0.0.0:8000; listen [::]:8000; location / { proxy_pass http://127.0.0.1:8080/; proxy_redirect default; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; } #location /static/ { # alias /srv/static/; #} }