diff --git a/docker/nginx.conf b/docker/nginx.conf new file mode 100644 index 00000000..966ebd63 --- /dev/null +++ b/docker/nginx.conf @@ -0,0 +1,15 @@ +server { + listen 9191; + server_name yourdomain.com; + + location /static/ { + root /app; # Base directory for static files + } + + location / { + proxy_pass http://127.0.0.1:5656; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } +}