8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b0d547 commit 556ef33Copy full SHA for 556ef33
run/django/mysite/settings.py
@@ -75,6 +75,7 @@
75
ALLOWED_HOSTS = [urlparse(CLOUDRUN_SERVICE_URL).netloc]
76
CSRF_TRUSTED_ORIGINS = [CLOUDRUN_SERVICE_URL]
77
SECURE_SSL_REDIRECT = True
78
+ SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
79
else:
80
ALLOWED_HOSTS = ["*"]
81
# [END cloudrun_django_csrf]
0 commit comments