Closed guillaumearnx closed 7 months ago
Interesting. Maybe it is possible if relative urls are used by the frontend. If not, it should be possible to add a config for this, and then use the config everywhere (frontend and backend).
However, by default you do have to do the rewrites. Wouldnt this be better to use? https://www.nginx.com/blog/creating-nginx-rewrite-rules/
Would this be sufficient? (have not tested):
rewrite ^/$ /secret last;
Not working, always this MIME error. I dont think we can fix it without modifying the way the app is build
Oh, it is possible without rewriting the app, but you would have to set the correct mime type for the paths / routes.
I do not think I would add support for this as that would add complexity that is really not something that would be used by most.
yeah i understand. i will make some tests and let you informed
have a good day
What would you like to share?
Hello, I'm trying to server my Hemmelig instance behind a reverse proxy with a root path in my FQDN. Eg :
share.tld.com
for a website andshare.tld.com/secret
for hemmelig. It is possible without modifying the source code ? Here is my nginx vhostThis gave me that error :
Any idea ? Thank's a lot and very good project by the way ❤️
Additional information
Hemmelig last version Host Ubuntu 22.04 nginx version: nginx/1.22.0 (Ubuntu)