Skip to content

Commit

Permalink
Merge branch 'main' into PIMS-2233
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharala-Perumal authored Nov 13, 2024
2 parents 92e65c6 + a6ee2da commit 32d9b0c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion react-app/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@ server {
add_header Pragma "no-cache";

# Content Security Policy
add_header Content-Security-Policy "default-src 'none'; frame-src 'self' *.gov.bc.ca; script-src 'nonce-windowsp' 'self' *.gov.bc.ca https://unpkg.com; style-src 'self' 'unsafe-inline' https://unpkg.com https://cdnjs.cloudflare.com; font-src 'self' *.gov.bc.ca; img-src 'self' *.gov.bc.ca data: tile.openstreetmap.org https://maps.googleapis.com https://unpkg.com https://cdnjs.cloudflare.com https://openmaps.gov.bc.ca; connect-src 'self' *.gov.bc.ca https://openmaps.gov.bc.ca; manifest-src 'self';";
add_header Content-Security-Policy "
default-src 'none';
base-uri 'self';
frame-ancestors 'none';
script-src 'self' https://unpkg.com;
style-src 'self' 'unsafe-inline' https://unpkg.com https://cdnjs.cloudflare.com;
font-src 'self';
img-src 'self' data: tile.openstreetmap.org https://maps.googleapis.com https://unpkg.com https://cdnjs.cloudflare.com https://openmaps.gov.bc.ca https://server.arcgisonline.com;
connect-src 'self' https://openmaps.gov.bc.ca;
manifest-src 'self';
form-action 'self';
";


listen 3000;
location / {
Expand Down

0 comments on commit 32d9b0c

Please sign in to comment.