chore: Change Nextcloud IP

This commit is contained in:
Tibo De Peuter 2026-02-04 20:23:56 +01:00
parent ca7875dee9
commit d38c53762a
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -68,7 +68,12 @@ prefixLength = 24;
# List services that you want to enable.
services = {
# Enable Nginx as a reverse proxy
nginx = {
nginx = let
nextcloud = {
host = "192.168.0.23";
officePort = 8080;
};
in {
enable = true;
# Use recommended settings
@ -107,12 +112,7 @@ prefixLength = 24;
default = true;
};
"cloud.depeuter.dev" = let
nextcloud = {
host = "192.168.0.14";
officePort = 8080;
};
in {
"cloud.depeuter.dev" = {
enableACME = true;
forceSSL = true;
locations = {
@ -167,7 +167,7 @@ prefixLength = 24;
forceSSL = true;
locations = {
"/" = {
proxyPass = "http://${jellyfin.host}:${jellyfin.port}";
proxyPass = "http://${jellyfin.host}:${toString jellyfin.port}";
extraConfig = ''
# Proxy main Jellyfin traffic
proxy_set_header Host $host;
@ -182,7 +182,7 @@ prefixLength = 24;
'';
};
"/socket" = {
proxyPass = "http://${jellyfin.host}:${jellyfin.port}";
proxyPass = "http://${jellyfin.host}:${toString jellyfin.port}";
extraConfig = ''
# Proxy Jellyfin Websockets traffic
proxy_http_version 1.1;
@ -244,7 +244,7 @@ prefixLength = 24;
locations = {
"/" = {
proxyPass = "http://192.168.0.22:10102";
proxyWebSockets = true;
proxyWebsockets = true;
};
"~ ^/admin".return = 403;
};