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.
|
||||
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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue