fix typo & run formatter
This commit is contained in:
parent
25cf85c81d
commit
83735da9fb
|
@ -49,26 +49,28 @@ in {
|
||||||
virtualHosts."freshrss.owo.monster" = {
|
virtualHosts."freshrss.owo.monster" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://${containerIP}:80/";
|
locations."/" = {
|
||||||
proxyWebsockets = true;
|
proxyPass = "http://${containerIP}:80/";
|
||||||
recommendedProxySettings = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
recommendedProxySettings = true;
|
||||||
add_header X-Frame-Options SAMEORIGIN;
|
extraConfig = ''
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-Frame-Options SAMEORIGIN;
|
||||||
proxy_redirect off;
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
proxy_buffering off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_buffering off;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-Prefix /freshrss/;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-Prefix /freshrss/;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_read_timeout 90;
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
|
proxy_read_timeout 90;
|
||||||
|
|
||||||
# Forward the Authorization header for the Google Reader API.
|
# Forward the Authorization header for the Google Reader API.
|
||||||
proxy_set_header Authorization $http_authorization;
|
proxy_set_header Authorization $http_authorization;
|
||||||
proxy_pass_header Authorization;
|
proxy_pass_header Authorization;
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
hardware.firmware = with pkgs; [
|
hardware.firmware = with pkgs; [
|
||||||
alsa-firmware
|
alsa-firmware
|
||||||
sof-firmware
|
sof-firmware
|
||||||
|
|
Loading…
Reference in a new issue