Freshrss nginx error 400 Bad Request

I have been using the freshrss container and the nginx reverse proxy in the letsencrypt container for almost a year. Yesterday nginx is reporting this error “400 Bad Request” when I try to access to freshrss.

This is my file configuration freshrss.subdomain.conf

server {
listen 443 ssl;
listen [::]:443 ssl;

server_name freshrss.*;

include /config/nginx/ssl.conf;

client_max_body_size 0;

location / {

    include /config/nginx/proxy.conf;
    resolver 127.0.0.11 valid=30s;
    set $upstream_freshrss freshrss;
    proxy_pass http://$upstream_freshrss;
  
    proxy_redirect off;
    proxy_buffering off;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Port $server_port;
    proxy_cookie_path / "/; HTTPOnly; Secure";
    proxy_set_header Authorization $http_authorization;
    proxy_pass_header Authorization;
}

}

Anyone have any ideas? Does it work properly for you?

Is there more to the error? Like large headers?

There is no information in the log for this error.
Only this message when I try to access

Annotazione 2020-06-05 151946

can you access it directly via IP? Without the reverse proxy?

Directly via IP there are not problem, all works.

Thanks for the heads up. Fixed in https://github.com/linuxserver/reverse-proxy-confs/pull/176

1 Like

Thank you, all works after fix!!!