runtime/examples/nginx/nginx.conf

14 lines
402 B
Nginx Configuration File
Raw Permalink Normal View History

2020-02-02 21:06:11 +00:00
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/;
#}
}