change freshrss proxy config

This commit is contained in:
chaos 2024-04-02 18:38:04 +02:00
parent 3d06b37347
commit f423547a1b
No known key found for this signature in database

View file

@ -46,13 +46,18 @@ in {
services.nginx = {
enable = true;
upstreams."freshrss" = {
servers = "${containerIP}:80";
extraConfig = ''
keepalive 64;
'';
};
virtualHosts."freshrss.owo.monster" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://${containerIP}:80/";
proxyWebsockets = true;
recommendedProxySettings = true;
proxyPass = "http://freshrss/";
extraConfig = ''
add_header X-Frame-Options SAMEORIGIN;
add_header X-XSS-Protection "1; mode=block";