Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'd like to add parameters to settings.py as environment variables #56

Open
ryo-ma opened this issue Apr 7, 2021 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ryo-ma
Copy link
Member

ryo-ma commented Apr 7, 2021

Without the following setting, some problems will occur when using API Gateway.

settings.py

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
USE_X_FORWARDED_HOST = True
USE_X_FORWARDED_PORT = True
FORCE_SCRIPT_NAME = '/meteoroid-api'
@ryo-ma ryo-ma added the enhancement New feature or request label Apr 9, 2021
@ryo-ma ryo-ma self-assigned this Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant