sytone / obsidian-remote

Run Obsidian.md in a browser via a docker container.
MIT License
1.29k stars 125 forks source link

"403 Forbidden Error" when trying to connect via traefik reverse proxy on diffrent VM #63

Open jlengelbrecht opened 1 year ago

jlengelbrecht commented 1 year ago

Trying to get my local traefik / authelia instances to play nice with Obsidian. Most of my containers do not require me to have a an additional instance of traefik installed locally. I can simply spin up the container add my config to traefik and authelia, then have pihole redirect to my instance.

I have two traefik / authelia instances setup in my homelab. One for internal, and one for external configuration. I am attempting to configure this on my internal instance.

While reading through the documentation, I was referencing the section on setting this up behind a reverse proxy. The doc references installing NGINX. Is this required? Or is there another way to get this to work? I would rather not install a dedicated proxy for just this container.

If anyone is able to help and knows what I am doing wrong or why I keep getting 403 forbidden. The help would be greatly appreciated. I have attached copies of edited versions of my config files. Thanks

403Forbidden authelia configuration yml

traefik config yml

docker-compose yml

drdada commented 11 months ago

Do you host other app with traefik & authelia ? I'm not an authelia expert but your issue should come from it, because the 403 error would result from a reverse proxy routing error, maybe a misconfiguration. I would try to make it work with traefik first then configure authelia but please try to reach them on their github.