File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 3737 # # Trust only known proxy headers (adjust based on your infrastructure)
3838 # hostsProxyHeaders: ["X-Forwarded-Host"]
3939
40+ secure-headers-allow-iframe :
41+ headers :
42+ # Allows iframe embedding (for comparison tools)
43+ frameDeny : false
44+ # Enables XSS protection in older browsers
45+ browserXssFilter : true
46+ # Prevents browsers from MIME-sniffing (forces declared Content-Type)
47+ contentTypeNosniff : true
48+ # Enforces HTTPS via HSTS
49+ forceSTSHeader : true
50+ stsSeconds : 31536000 # 1 year
51+ stsIncludeSubdomains : true
52+ stsPreload : true
53+
4054 redirect-nominatim :
4155 redirectRegex :
4256 regex : " ^https://(nominatim(?:\\ .staging)?\\ .openhistoricalmap\\ .org)/?$"
5367 tls :
5468 certResolver : letsencrypt
5569 middlewares :
56- - secure-headers
70+ - secure-headers-allow-iframe
5771
5872 tiler_cache-production-router :
5973 rule : Host(`tiler-cache.openhistoricalmap.org`)
@@ -145,7 +159,7 @@ http:
145159 tls :
146160 certResolver : letsencrypt
147161 middlewares :
148- - secure-headers
162+ - secure-headers-allow-iframe
149163
150164 overpass-api-staging-router :
151165 rule : Host(`overpass-api.staging.openhistoricalmap.org`)
You can’t perform that action at this time.
0 commit comments