Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f09fd8

Browse files
committed
SECURE_SSL_REDIRECT
1 parent4a33f3d commit4f09fd8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎backend/book/settings.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
'django.middleware.clickjacking.XFrameOptionsMiddleware',
7272
]
7373

74+
SECURE_PROXY_SSL_HEADER= ('HTTP_X_FORWARDED_PROTO','https')
75+
SECURE_SSL_REDIRECT=True
76+
7477
ROOT_URLCONF='book.urls'
7578

7679
TEMPLATES= [

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp