Compare commits

..

2 Commits

Author SHA1 Message Date
Nathan McCarty 3ca99ab655
jellyfin socket nginx 2023-10-12 13:13:41 -04:00
Nathan McCarty e6f4152767
Add float and pin keybind 2023-10-08 22:01:14 -04:00
2 changed files with 22 additions and 5 deletions

View File

@ -122,6 +122,8 @@ in with lib; {
# bind = SUPER, M, exit, # bind = SUPER, M, exit,
bind = SUPER, E, exec, dolphin bind = SUPER, E, exec, dolphin
bind = SUPER, V, togglefloating, bind = SUPER, V, togglefloating,
bind = SUPER SHIFT, V, togglefloating,
bind = SUPER SHIFT, V, pin,
bind = SUPER, P, pseudo, # dwindle bind = SUPER, P, pseudo, # dwindle
bind = SUPER, B, togglesplit, # dwindle bind = SUPER, B, togglesplit, # dwindle

View File

@ -203,13 +203,28 @@
"jellyfin.mccarty.io" = { "jellyfin.mccarty.io" = {
forceSSL = true; forceSSL = true;
useACMEHost = "mccarty.io"; useACMEHost = "mccarty.io";
locations."/" = { locations = {
"/socket" = {
proxyPass = "http://100.104.25.128:8096";
extraConfig = ''
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
'';
};
"/" = {
proxyPass = "http://100.104.25.128:8096"; proxyPass = "http://100.104.25.128:8096";
extraConfig = '' extraConfig = ''
allow all; allow all;
''; '';
}; };
}; };
};
"jellyseerr.mccarty.io" = { "jellyseerr.mccarty.io" = {
forceSSL = true; forceSSL = true;
useACMEHost = "mccarty.io"; useACMEHost = "mccarty.io";