Skip to content

Commit

Permalink
Adding X-FRAME-OPTIONS setting to allow self-embed for reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
york-stsci committed Nov 25, 2024
1 parent 36f6cdd commit ee85845
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jwql/website/jwql_proj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = get_config()['django_debug']

X_FRAME_OPTIONS = "SAMEORIGIN"

ALLOWED_HOSTS = ['*']

# Application definition
Expand Down

0 comments on commit ee85845

Please sign in to comment.