8000 Cloud run django example goes into infinite redirect · Issue #7632 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
Cloud run django example goes into infinite redirect #7632
Closed
@shukryzablah

Description

@shukryzablah

In which file did you encounter the issue?

run/django/mysite/settings.py

Did you change the file? If so, how?

Minor settings changes related to static file usage. Deleted comments.

Describe the issue

My application was going into an infinite redirect.

(Adding SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") to the production branch of the conditional got things working for me. )

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: runIssues related to the Cloud Run API.samplesIssues that are directly related to samples.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    < 2A16 /div>
    0