ahhh
This commit is contained in:
parent
d7ce4d6800
commit
a62aae0d45
7 changed files with 200 additions and 63 deletions
|
|
@ -68,6 +68,7 @@
|
|||
systemd.services.caddy.serviceConfig.EnvironmentFile = config.age.secrets.desec.path;
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 config.services.forgejo.settings.server.SSH_PORT 25 143 465 587 993 ];
|
||||
networking.firewall.allowedUDPPorts = [ 443 ];
|
||||
services.prometheus.exporters.node = { enable = true; enabledCollectors = [ "systemd" ]; };
|
||||
services.caddy = {
|
||||
logFormat = "level INFO";
|
||||
enable = true;
|
||||
|
|
@ -76,9 +77,17 @@
|
|||
acme_dns desec {
|
||||
token "{$TOKEN}"
|
||||
}
|
||||
admin :2019
|
||||
metrics {
|
||||
per_host
|
||||
}
|
||||
'';
|
||||
virtualHosts."*.hailsatan.eu".extraConfig = ''
|
||||
reverse_proxy https://j.hailsatan.eu
|
||||
reverse_proxy https://ds9.kangaroo-galaxy.ts.net {
|
||||
transport http {
|
||||
tls_server_name {host}
|
||||
}
|
||||
}
|
||||
'';
|
||||
virtualHosts."l621.net".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:8186
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue