mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
21 lines
550 B
Text
21 lines
550 B
Text
events {}
|
|
|
|
http {
|
|
server {
|
|
listen 443 ssl;
|
|
|
|
ssl_certificate /cert.crt;
|
|
ssl_certificate_key /cert.key;
|
|
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
|
|
|
location / {
|
|
proxy_pass http://map: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;
|
|
proxy_set_header 'Access-Control-Allow-Origin' '*';
|
|
}
|
|
}
|
|
}
|