adding reverse proxy with ssl
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 33s

This commit is contained in:
2025-11-26 00:59:21 +03:30
parent acb7df5cf9
commit ae96b79fb2
3 changed files with 77 additions and 18 deletions

View File

@@ -0,0 +1,17 @@
server {
listen 80;
listen 443 ssl;
server_name demo.networkwizard.xyz;
# SSL config handled by the container image
location / {
proxy_pass http://app:5000;
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;
}
# Redirect HTTP to HTTPS (handled automatically by the image after certs are obtained)
}