Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions nginx/nginx.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ server {
# Basic Gzip as per standard defaults
gzip on;

# CRITICAL: Allow the Global Host (IGZ) to fetch these assets
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, OPTIONS';
add_header Access-Control-Allow-Headers 'Content-Type, Authorization';
# Clickjacking protection
add_header X-Frame-Options "DENY" always;
add_header Content-Security-Policy "frame-ancestors 'none';" always;

location / {
# Show landing page when accessing the remote directly
Expand Down
Loading