chore: Change Nextcloud IP
This commit is contained in:
parent
ca7875dee9
commit
d38c53762a
1 changed files with 10 additions and 10 deletions
|
|
@ -68,7 +68,12 @@ prefixLength = 24;
|
||||||
# List services that you want to enable.
|
# List services that you want to enable.
|
||||||
services = {
|
services = {
|
||||||
# Enable Nginx as a reverse proxy
|
# Enable Nginx as a reverse proxy
|
||||||
nginx = {
|
nginx = let
|
||||||
|
nextcloud = {
|
||||||
|
host = "192.168.0.23";
|
||||||
|
officePort = 8080;
|
||||||
|
};
|
||||||
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Use recommended settings
|
# Use recommended settings
|
||||||
|
|
@ -107,12 +112,7 @@ prefixLength = 24;
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"cloud.depeuter.dev" = let
|
"cloud.depeuter.dev" = {
|
||||||
nextcloud = {
|
|
||||||
host = "192.168.0.14";
|
|
||||||
officePort = 8080;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations = {
|
locations = {
|
||||||
|
|
@ -167,7 +167,7 @@ prefixLength = 24;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://${jellyfin.host}:${jellyfin.port}";
|
proxyPass = "http://${jellyfin.host}:${toString jellyfin.port}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Proxy main Jellyfin traffic
|
# Proxy main Jellyfin traffic
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
@ -182,7 +182,7 @@ prefixLength = 24;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"/socket" = {
|
"/socket" = {
|
||||||
proxyPass = "http://${jellyfin.host}:${jellyfin.port}";
|
proxyPass = "http://${jellyfin.host}:${toString jellyfin.port}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Proxy Jellyfin Websockets traffic
|
# Proxy Jellyfin Websockets traffic
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
@ -244,7 +244,7 @@ prefixLength = 24;
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://192.168.0.22:10102";
|
proxyPass = "http://192.168.0.22:10102";
|
||||||
proxyWebSockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
"~ ^/admin".return = 403;
|
"~ ^/admin".return = 403;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue