konova/nginx/nginx.conf
mpeltriaux 9cb9308f85 # Docker Production
* adds further settings to create a production-ready docker configuration
2022-01-13 09:29:38 +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/;
}
}