Skip to content

Commit

Permalink
fix: made upload-scans endpoint ssl-exempt
Browse files Browse the repository at this point in the history
  • Loading branch information
tymees committed Oct 30, 2024
1 parent 3011f5c commit d75bdf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions humitifier-server/src/humitifier_server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@

X_FRAME_OPTIONS = "DENY"
SECURE_SSL_REDIRECT = _https_enabled
SECURE_REDIRECT_EXEMPT = [
r'^api/upload-scans/$'
]

SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")

Expand Down

0 comments on commit d75bdf9

Please sign in to comment.