How to do URL Prefixing in SQLPage Using Reverse Proxy #691
Replies: 2 comments 7 replies
-
Hello and welcome to SQLPage ! If I understand well, you launch sqlpage from a root folder {
"site_prefix": "/sample/test/",
"web_root": "./abc/"
} (you can also use environment variables, or command line arguments to set the parameters)
This works as-is, without a reverse proxy. |
Beta Was this translation helpful? Give feedback.
-
Understood Thank you 👍 |
Beta Was this translation helpful? Give feedback.
-
I have a setup where I use SQLPage with path at
abc/index.sql
. I want to make this page accessible with a prefix, such as/sample/test/
, and I am attempting to achieve this using a reverse proxy (e.g., Nginx).However, I am facing issues where the URL routing does not work as expected. Could you clarify if SQLPage supports such prefixing inherently, or if there are specific reverse proxy configurations required to make this work?
Thank you for your guidance!
Beta Was this translation helpful? Give feedback.
All reactions