Skip to content

Commit 4e75fca

Browse files
committed
Add new server
1 parent 3c2b4e2 commit 4e75fca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

proxy/nginx.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ http {
1212
listen 80;
1313

1414
add_header X-Frame-Options "DENY";
15+
# Content Security Policy for MapLibre GL with PhotoPrism tile server
16+
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline' https://cdn.photoprism.app; img-src 'self' data: blob: https://maps.photoprism.app https://cdn.photoprism.app; font-src 'self' https://cdn.photoprism.app; connect-src 'self' https://maps.photoprism.app https://cdn.photoprism.app; worker-src 'self' blob:; child-src 'self' blob:;";
1517

1618
location / {
1719
# React routes are entirely on the App side in the web browser

0 commit comments

Comments
 (0)