Freshrss: Nginx proxy + Dockerised Freshrss

Created on 14 Jul 2018  路  6Comments  路  Source: FreshRSS/FreshRSS

Hi,
I'm using freshrss in a docker container behind a proxy (also in a container) for encryption.
I can access the container directely on the container exposed port (LAN access). Everything works well.
I got the "Error 403 - Forbidden" when trying to acces freshrss using external adress "https://:/URL". The login page is reached but I don't get throw the authentification form. The logs shows "Password mismatch for user=xxxxxx, nonce=, c=$2a$04$xM...".
Did anyone else experience this issue?

Docker image : freshrss/freshrss or linuxserver/freshrss

Documentation help wanted

Most helpful comment

Done in #2151 馃槂

All 6 comments

Hello,
It looks like you have an empty nonce, which is a sign that your PHP session is not working. It is likely an HTTP header problem, with your proxy not allowing cookies or instructions such as Set-Cookie (response) or Cookie (request).

Similar than https://github.com/FreshRSS/FreshRSS/issues/1659#issuecomment-335577814

@yk82 Did you found a solution?

Had same kind of issue (403 + empty nonce in log.txt) with Dockerized FreshRSS behind Nginx Reverse Proxy.
Just tested by adding following instruction into server block in Nginx conf file seems solve my problem :
proxy_cookie_path / "/; HTTPOnly; Secure";

@thomas-gt Thanks for the feedback 馃憤

@thomas-gt Would you feel like doing a quick PR in the README for that (just adding a line with that comment, or an example of NGINX config)? :-)

Done in #2151 馃槂

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alkarex picture Alkarex  路  5Comments

javerous picture javerous  路  5Comments

Tealk picture Tealk  路  5Comments

cwldev picture cwldev  路  5Comments

mbnoimi picture mbnoimi  路  4Comments