mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 17:38:30 +02:00
falkenstein: switch to caddy
This commit is contained in:
parent
7811c95ecf
commit
c96d8b7103
13 changed files with 76 additions and 121 deletions
|
@ -38,14 +38,9 @@
|
|||
enable = true;
|
||||
};
|
||||
};
|
||||
nginx.virtualHosts."rspamd.${config.networking.domain}" = {
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://127.0.0.1:11334";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
caddy.virtualHosts."rspamd.${config.networking.domain}".extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:11334
|
||||
'';
|
||||
};
|
||||
systemd = {
|
||||
services.rspamd-dmarc-report = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue