shiloh_automatisch/https/nginx/automatisch_self_signed_nginx.conf
2025-02-07 09:11:53 +09:00

20 lines
550 B
Plaintext

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;
}
}
}