rspamd_installieren
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
rspamd_installieren [2023/12/15 20:12] – admin | rspamd_installieren [2023/12/15 20:31] (current) – admin | ||
---|---|---|---|
Line 9: | Line 9: | ||
< | < | ||
- | Wenn man sich nicht sicher ist, default nehmen | + | Wenn man sich nicht sicher ist, default nehmen. |
+ | |||
+ | Jetzt noch schnell den Nginx als reverse proxy aufsetzen, und eine Konfiguration ähnlich dieser hier aufsetzen und nach / | ||
+ | |||
+ | < | ||
+ | server { | ||
+ | listen 80; | ||
+ | listen [::]:80; | ||
+ | listen 443 ssl http2; | ||
+ | listen [::]:443 ssl http2; | ||
+ | |||
+ | server_name mail.domain.tld; | ||
+ | |||
+ | ssl_certificate / | ||
+ | ssl_certificate_key / | ||
+ | |||
+ | add_header Strict-Transport-Security max-age=15768000; | ||
+ | |||
+ | location /rspamd/ { | ||
+ | proxy_pass http:// | ||
+ | proxy_set_header Host $host; | ||
+ | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
+ | } | ||
+ | |||
+ | if ($ssl_protocol = "" | ||
+ | return 301 https:// | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
rspamd_installieren.1702671173.txt.gz · Last modified: 2023/12/15 20:12 by admin