docs/roundcube: add caddy example
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts.${config.services.roundcube.hostName} = {
|
||||
forceSSL = false;
|
||||
enableACME = false;
|
||||
listen = [
|
||||
{
|
||||
addr = "127.0.0.1";
|
||||
port = 8000;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."${config.services.roundcube.hostName}".extraConfig = ''
|
||||
reverse_proxy localhost:8000
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user