mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
things don't like ipv6
This commit is contained in:
parent
7f6f1e0cd8
commit
71f8d6785e
2 changed files with 6 additions and 6 deletions
|
|
@ -3,9 +3,9 @@
|
|||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"${config.networking.hostName}.${config.kw.dns.ygg_prefix}.${config.kw.dns.domain}".locations = {
|
||||
"/jellyfin/".proxyPass = "http://[::1]:8096/jellyfin/";
|
||||
"/jellyfin/".proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
||||
"/jellyfin/socket" = {
|
||||
proxyPass = "http://[::1]:8096/jellyfin/";
|
||||
proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
||||
extraConfig = ''
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
};
|
||||
};
|
||||
${config.kw.dns.ipv4}.locations = {
|
||||
"/jellyfin/".proxyPass = "http://[::1]:8096/jellyfin/";
|
||||
"/jellyfin/".proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
||||
"/jellyfin/socket" = {
|
||||
proxyPass = "http://[::1]:8096/jellyfin/";
|
||||
proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
||||
extraConfig = ''
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@
|
|||
|
||||
services.nginx.virtualHosts = {
|
||||
"${config.networking.hostName}.${config.kw.dns.ygg_prefix}.${config.kw.dns.domain}".locations."/tvheadend" = {
|
||||
proxyPass = "http://[::1]:9981";
|
||||
proxyPass = "http://127.0.0.1:9981";
|
||||
extraConfig = "proxy_pass_header X-Transmission-Session-Id;";
|
||||
};
|
||||
${config.kw.dns.ipv4}.locations."/tvheadend" = {
|
||||
proxyPass = "http://[::1]:9981";
|
||||
proxyPass = "http://127.0.0.1:9981";
|
||||
extraConfig = "proxy_pass_header X-Transmission-Session-Id;";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue