Removed nginx container. Added supervisord and nginx to build.

This commit is contained in:
2026-01-19 13:09:48 +00:00
parent 3e0c5d2ecc
commit 1e53a1a74e
11 changed files with 135 additions and 22 deletions

View File

@@ -0,0 +1,30 @@
# Default NGINX Config
server {
listen 8008;
listen [::]:8008;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name _;
ssl_certificate /certs/certificate.pem;
ssl_certificate_key /certs/key.pem;
include /certs/options-ssl-nginx.conf;
client_max_body_size 50M;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}