diff options
author | B. Stack <bgstack15@gmail.com> | 2023-08-30 15:24:17 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-08-31 10:51:29 -0400 |
commit | c9e7a731db04c11b84bb357ac78405fa2d91a585 (patch) | |
tree | 6196fe75e55bfc85275ec71b8954194738665222 /instance | |
parent | customize css (diff) | |
download | newspipe-add-reverse-proxy.tar.gz newspipe-add-reverse-proxy.tar.bz2 newspipe-add-reverse-proxy.zip |
add support for reverse-proxy and virtual pathadd-reverse-proxy
Diffstat (limited to 'instance')
-rw-r--r-- | instance/config.py | 3 | ||||
-rw-r--r-- | instance/sqlite.py | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/instance/config.py b/instance/config.py index af5fe9b9..bfb60538 100644 --- a/instance/config.py +++ b/instance/config.py @@ -10,6 +10,9 @@ PORT = 5000 DEBUG = True API_ROOT = "/api/v2.0" +# Optional, and useful if you are using a reverse proxy with this virtual path prefix +#PREFIX = "/newspipe" + CSRF_ENABLED = True SECRET_KEY = "LCx3BchmHRxFzkEv4BqQJyeXRLXenf" SECURITY_PASSWORD_SALT = "L8gTsyrpRQEF8jNWQPyvRfv7U5kJkD" diff --git a/instance/sqlite.py b/instance/sqlite.py index abde387a..dcc2bd46 100644 --- a/instance/sqlite.py +++ b/instance/sqlite.py @@ -10,6 +10,9 @@ PORT = 5000 DEBUG = True API_ROOT = "/api/v2.0" +# Optional, and useful if you are using a reverse proxy with this virtual path prefix +#PREFIX = "/newspipe" + CSRF_ENABLED = True SECRET_KEY = "LCx3BchmHRxFzkEv4BqQJyeXRLXenf" SECURITY_PASSWORD_SALT = "L8gTsyrpRQEF8jNWQPyvRfv7U5kJkD" |