I'd like to add parameters to settings.py as environment variables
Opened this issue · 0 comments
ryo-ma commented
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'