remove upstream
This commit is contained in:
parent
f423547a1b
commit
be39fb56c4
|
@ -46,18 +46,11 @@ in {
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
upstreams."freshrss" = {
|
|
||||||
servers = "${containerIP}:80";
|
|
||||||
extraConfig = ''
|
|
||||||
keepalive 64;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
virtualHosts."freshrss.owo.monster" = {
|
virtualHosts."freshrss.owo.monster" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://freshrss/";
|
proxyPass = "http://${containerIP}:80/";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header X-Frame-Options SAMEORIGIN;
|
add_header X-Frame-Options SAMEORIGIN;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
|
|
Loading…
Reference in a new issue