wrolpi/docker/https_proxy/nginx.proxy.conf

18 lines
437 B
Text

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