local https prod simulation nginx config

This commit is contained in:
Linden Crandall 2025-02-07 09:11:53 +09:00
parent 243cb035da
commit 7aab108b6b

View File

@ -0,0 +1,19 @@
events {}
http {
server {
listen 443 ssl;
server_name shiloh_automatisch.local;
ssl_certificate /etc/nginx/certs/shiloh_automatisch.local.crt;
ssl_certificate_key /etc/nginx/certs/shiloh_automatisch.local.key;
location / {
proxy_pass http://main:7757;
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 https;
}
}
}