remove upstream

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

View file

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