runtime/examples/nginx/nginx.conf
2020-02-02 22:06:11 +01:00

14 lines
402 B
Nginx Configuration File

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/;
#}
}