mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
fix for URL's not working correctly behind a reverse proxy.
This commit is contained in:
@@ -116,4 +116,8 @@ COMIC_DIR = "/media/comics"
|
||||
|
||||
from .logger import LOGGING
|
||||
|
||||
SILK_ENABLED = False
|
||||
SILK_ENABLED = False
|
||||
|
||||
USE_X_FORWARDED_HOST = os.getenv('USE_X_FORWARDED_HOST', False) == 'True'
|
||||
|
||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||
|
||||
Reference in New Issue
Block a user