magpie/restya: set different local and remote host name

This commit is contained in:
Asmir A 2023-10-05 21:28:28 +02:00
parent a73ad5f3b7
commit 0561f3d1b4

View File

@ -78,7 +78,8 @@
services.opendkim.enable = true;
services.restya-board = {
enable = true;
virtualHost.serverName = "board.project-cloud.net";
/*virtualHost.serverName = "board.project-cloud.net";*/
virtualHost.listenHost = "localhost";
virtualHost.listenPort = 4001;
};
services.nextcloud = {
@ -125,8 +126,7 @@
};
};
/*
virtualHosts.${config.services.restya-board.virtualHost.serverName} = {
virtualHosts."board.project-cloud.net" = {
quic = true;
forceSSL = true;
enableACME = true;
@ -134,7 +134,6 @@
proxyPass = "http://localhost:${toString config.services.restya-board.virtualHost.listenPort}";
};
};
*/
};
services.redis.servers.nextcloud = {