Initial refactor

This commit is contained in:
Sonny Bakker 2023-03-05 15:21:04 +01:00
parent 12b4aa0b91
commit 89f23fe668
11 changed files with 230 additions and 65 deletions

View file

@ -0,0 +1,18 @@
upstream gunicorn {
server django:8000;
}
server {
listen 80;
server_name localhost;
access_log /var/log/nginx/access_log;
error_log /var/log/nginx/error_log;
location / {
proxy_pass http://gunicorn;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
}