konova/nginx/nginx.conf
2022-02-04 15:17:08 +01:00

21 lines
327 B
Nginx Configuration File

upstream konova {
server konova:8000;
}
server {
listen 80;
location / {
proxy_pass http://konova;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
location /static/ {
alias /konova/static/;
}
}