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