Temporary disable radarr and sonarr proxy
This commit is contained in:
parent
4b23e0cfda
commit
5e70ab4bea
1 changed files with 17 additions and 13 deletions
|
|
@ -55,7 +55,11 @@ with lib; {
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
virtualHosts = let ssl = { enableACME = true; forceSSL = true; }; in
|
virtualHosts =
|
||||||
|
let
|
||||||
|
ssl = { enableACME = true; forceSSL = true; };
|
||||||
|
# loki = "172.23.254.55";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
"unimi.bertof.net" = ssl // { locations."/".extraConfig = "rewrite ^/(.*)$ https://homes.di.unimi.it/berto/$1 redirect ;"; };
|
"unimi.bertof.net" = ssl // { locations."/".extraConfig = "rewrite ^/(.*)$ https://homes.di.unimi.it/berto/$1 redirect ;"; };
|
||||||
"home-assistant.bertof.net" = ssl // {
|
"home-assistant.bertof.net" = ssl // {
|
||||||
|
|
@ -67,18 +71,18 @@ with lib; {
|
||||||
proxy_pass_header Authorization;
|
proxy_pass_header Authorization;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"radarr.bertof.net" = ssl // {
|
# "radarr.bertof.net" = ssl // {
|
||||||
locations."/" = { proxyPass = "http://loki.local:7878/"; proxyWebsockets = true; };
|
# locations."/" = { proxyPass = "http://${loki}:7878/"; proxyWebsockets = true; };
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
proxy_pass_header Authorization;
|
# proxy_pass_header Authorization;
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
"sonarr.bertof.net" = ssl // {
|
# "sonarr.bertof.net" = ssl // {
|
||||||
locations."/" = { proxyPass = "http://loki.local:8989/"; proxyWebsockets = true; };
|
# locations."/" = { proxyPass = "http://${loki}:8989/"; proxyWebsockets = true; };
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
proxy_pass_header Authorization;
|
# proxy_pass_header Authorization;
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
openssh = { enable = true; openFirewall = true; };
|
openssh = { enable = true; openFirewall = true; };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue