Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

add header to nginx to prevent clickjacking #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions scripts/setup-nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ server {
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8001/api;
proxy_redirect off;
add_header X-Frame-Options "SAMEORIGIN" always;
}

# Django admin access (/admin/)
Expand Down