Possible to run behind reverse proxy under subpath? #529
Replies: 6 comments
-
Currently this is not possible. It shouldn't be too difficult though. You would probably need to implement a simple routing middleware in sveltekit. That said, I currently won't put it super high on my priority list. I will add it to the roadmap though. |
Beta Was this translation helpful? Give feedback.
-
I hope this belongs here, but it seems like it might be related:
Since clicking the link on the page works just fine, I'm wondering if this might have something to do with routing in Svelte? |
Beta Was this translation helpful? Give feedback.
-
And one more piece of information: direct page reloads of |
Beta Was this translation helpful? Give feedback.
-
That's strange because the demo instance is running behind a nginx reverse proxy without any issues. Could you provide your nginx config? |
Beta Was this translation helpful? Give feedback.
-
Apologies, this is unrelated to the original topic.
Sorry again. Awesome work with the project! |
Beta Was this translation helpful? Give feedback.
-
Hello. My nginx rewrites this url to: http://docker-wandrer-web-service-name:3000. BTW: thanks a lot for that awesome project !! You contribute to provide a clean web, not depending on the ad. That's very valuable, thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Thanks for making wanderer!
I'm running wanderer on a k8s cluster behind a reverse proxy (Ingress NGINX Controller). I'd like to host wanderer at
<my-hostname>/wanderer
. I tried setting the ORIGIN envvar to include the/wanderer
subpath, but it seems the app always wants to fetch assets from/_app
, which causes things to break. Is there a way to make this work?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions