Skip to content

Commit

Permalink
fix:add settings relate to SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanHHaeng committed May 31, 2024
1 parent a91efa8 commit a496695
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pure_plate/pure_plate/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,7 @@
},
}


SECURE_SSL_REDIRECT = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True

0 comments on commit a496695

Please sign in to comment.