Skip to content

Commit

Permalink
use wildcard domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 11, 2024
1 parent 1b48dec commit 3070869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ http {
add_header 'Referrer-Policy' 'strict-origin-when-cross-origin' always;
add_header 'Strict-Transport-Security' 'max-age=31536000; includeSubDomains; preload' always;
add_header 'Permissions-Policy' 'fullscreen=(self), geolocation=(self), clipboard-read=(self), clipboard-write=(self)' always;
add_header 'Content-Security-Policy' "default-src 'self' tiles.API_URL; img-src 'self' data: tiles.API_URL; worker-src 'self' blob:; style-src-attr 'unsafe-inline'; upgrade-insecure-requests;" always;
add_header 'Content-Security-Policy' "default-src 'self' *.API_URL; img-src 'self' data: *.API_URL; worker-src 'self' blob:; style-src-attr 'unsafe-inline'; upgrade-insecure-requests;" always;

location / {
if ($request_uri ~ ^/(.*)\.html) {
Expand Down

0 comments on commit 3070869

Please sign in to comment.