All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 33s
18 lines
494 B
Plaintext
18 lines
494 B
Plaintext
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)
|
|
}
|