feat(mail): add Dovecot and Getmail configurations with ingress setup for SFTPGo

This commit is contained in:
2025-05-05 19:56:43 +02:00
parent e6e85b00f7
commit d1267f816b
10 changed files with 530 additions and 486 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ module "sftpgo" {
admin_username = "admin"
admin_password = var.sftpgo_admin_password
tag = local.sftpgo_version
tag = local.sftpgo_version
fqdn = local.sftpgo_fqdn
smtp_host = local.scaleway_smtp_host
smtp_port = local.scaleway_smtp_port
+1
View File
@@ -21,6 +21,7 @@ locals {
# sftpgo
sftpgo_version = "2.6.x"
sftpgo_fqdn = "webdav.${local.primary_domain}"
# m3uproxy
m3uproxy_version = "latest"
@@ -20,8 +20,8 @@ server {
application/rss+xml
image/svg+xml;
location ^~ /storage {
proxy_pass http://http.sftpgo.svc.cluster.local:8080/storage;
location ^~ /config/dav {
proxy_pass http://http.sftpgo.svc.cluster.local:8080/config/dav;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;