feat: Enable to configure app prefix in environment variable #34

Open
opened 2022-08-23 11:16:02 +02:00 by mulder999 · 1 comment
mulder999 commented 2022-08-23 11:16:02 +02:00 (Migrated from github.com)

It would be nice to have a environment variable like URL_APP_PREFIX in order to allow relocate the app.

Then we could serve the app more easily at url such as https://tools.mycompany.com/<URL_APP_PREFIX> without having to resort to complex rewrite in reverse proxy.

From a quick look through the solution, it seems we might have at least to scope the ruby routes and change webpack output path.

It would be nice to have a environment variable like `URL_APP_PREFIX` in order to allow relocate the app. Then we could serve the app more easily at url such as `https://tools.mycompany.com/<URL_APP_PREFIX>` without having to resort to complex rewrite in reverse proxy. From a quick look through the solution, it seems we might have at least to scope the ruby routes and change webpack output path.
dbarenholz commented 2023-06-27 16:13:43 +02:00 (Migrated from github.com)

How does this relate to https://github.com/siteinspector/siteinspector/issues/8? I'm currently trying to run siteinspector on mydomain.com/site-inspector/ using an nginx reverse proxy, and am unsure what the path of least resistance is.

Edit: I'm happy to help with coding, but I've never worked with Ruby and am not quite sure what best practises are in terms of dev environment.

How does this relate to https://github.com/siteinspector/siteinspector/issues/8? I'm currently trying to run siteinspector on `mydomain.com/site-inspector/` using an nginx reverse proxy, and am unsure what the path of least resistance is. Edit: I'm happy to help with coding, but I've never worked with Ruby and am not quite sure what best practises are in terms of dev environment.
dan changed title from Improvement: Enable to configure app prefix in environment variable to feat: Enable to configure app prefix in environment variable 2025-10-26 13:16:23 +01:00
dan added this to the siteinspector project 2025-10-26 13:16:48 +01:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.