From c9e7a731db04c11b84bb357ac78405fa2d91a585 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 30 Aug 2023 15:24:17 -0400 Subject: add support for reverse-proxy and virtual path --- instance/sqlite.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'instance/sqlite.py') 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" -- cgit