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
I'm trying to setup Lychee Docker through nginx reverse proxy but keep receiving a "400 BadRequestHeaderException Invalid token" error. Lychee seems to work fine if accessed through the local IP, but when exposed through nginx it stops working.
Hi,
I'm trying to setup Lychee Docker through nginx reverse proxy but keep receiving a "400 BadRequestHeaderException Invalid token" error. Lychee seems to work fine if accessed through the local IP, but when exposed through nginx it stops working.
nginx config
I have also set APP_URL and TRUSTED_PROXIES on the docker container to the following but its still not working.
The issue seems to be related to the CSRF token cookie not being set properly when proxied through nginx.
Any help to point me in the right direction would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: