Modifying https_proxy docker container so that upstream host and port can be configured.

This commit is contained in:
Roland 2025-08-17 11:23:19 -06:00 • committed by lrnselfreliance
parent f09e9ffb2f
commit 7bc261a8a3
3 changed files with 13 additions and 3 deletions

View file

@ -1,18 +0,0 @@
events {}
http {
server {
listen 443 ssl;
ssl_certificate /cert.crt;
ssl_certificate_key /cert.key;
location / {
proxy_pass http://localhost:80;
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;
}
}
}