mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
18 lines
437 B
Text
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;
|
|
}
|
|
}
|
|
}
|