setting to avoid gateway post problem
This commit is contained in:
@@ -13,4 +13,11 @@ MEDIA_URL = '/shop_media/'
|
||||
MEDIA_ROOT = 'app/media'
|
||||
|
||||
STATIC_URL = '/shop_static/'
|
||||
STATIC_ROOT = 'app/static'
|
||||
STATIC_ROOT = 'app/static'
|
||||
|
||||
# ==============================================================================
|
||||
# to avoid gateway post problem
|
||||
# ==============================================================================
|
||||
|
||||
USE_X_FORWARDED_HOST = True
|
||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||
Reference in New Issue
Block a user