You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So a very basic configuration I would say.
Due to the fact that shaarli is requested on /, it generates URL without the folder part for web browser. Therefore they are requesting files without this folder, and of course it fails.
According to that issue, it is a normal behaviour. It would be very easy to bypass this limitation with this pull request. I am using it since multiple weeks and it works perfectly.
What is the correct configuration to use at nginx level or shaarli level to run behind a reverse proxy ?
Thank you in advance,
The text was updated successfully, but these errors were encountered:
I booted up a quick EC2 instance and was able to reproduce your issue. I tried to play with nginx config and proxy headers but @virtualtam was right in the issue you linked and there is no easy way to pass the proxy location into the container's request path without changing the configuration inside our Docker image.
I will take some time to have a more in-depth look at your previous PR and find a solution to handle this at the project's configuration level without introducing breaking changes to other configurations.
Hello,
I would like to run
shaarli
behind a reverse proxy (I am using the Shaarli docker image). My reverse proxy configuration is the following:So a very basic configuration I would say.
Due to the fact that
shaarli
is requested on/
, it generates URL without thefolder
part for web browser. Therefore they are requesting files without this folder, and of course it fails.According to that issue, it is a normal behaviour. It would be very easy to bypass this limitation with this pull request. I am using it since multiple weeks and it works perfectly.
What is the correct configuration to use at nginx level or shaarli level to run behind a reverse proxy ?
Thank you in advance,
The text was updated successfully, but these errors were encountered: