Displaying helpful error when iframes do not load.

This commit is contained in:
Roland 2024-06-17 10:40:30 -06:00
parent 0bee458b79
commit bd431165e5
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
8 changed files with 97 additions and 18 deletions

View file

@ -7,12 +7,15 @@ http {
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' '*';
}
}
}