Photato icon indicating copy to clipboard operation
Photato copied to clipboard

Subdirectory support when using a reverse proxy

Open cglindkamp opened this issue 6 years ago • 2 comments

I'm using an nginx reverse proxy to add authentication and https support. This works great, when Photato is put into the root directory. But when I put it into a subdirectory, so that it is accessible via https://example.com/photato, all links still point to the root directory, so not even the css and js files can be loaded. It would be great, if this kind of setup would be supported, either by specifying the prefix in a config file or even better autodetect the prefix/use only relative paths.

cglindkamp avatar Dec 29 '18 21:12 cglindkamp