add nginx conf
Seto committed
Oct 13, 2025 at 21:41 UTC
2d82c97115617bc5796f3da8490db875fb3fc217
1 file changed
+32
docs/nginx/config.conf
new
+32
@@ -0,0 +1,32 @@
1
+worker_processes auto;
2
+
3
+mail {
4
+ server_name smtp.thestablefoundation.org;
5
+
6
+ proxy_pass_error_message on;
7
+
8
+ ssl on;
9
+ ssl_certificate /etc/letsencrypt/live/smtp.thestablefoundation.org/fullchain.pem;
10
+ ssl_certificate_key /etc/letsencrypt/live/smtp.thestablefoundation.org/privkey.pem;
11
+ ssl_protocols TLSv1.2 TLSv1.3;
12
+ ssl_ciphers HIGH:!aNULL:!MD5;
13
+ ssl_session_cache shared:SSL:10m;
14
+ ssl_session_timeout 10m;
15
+
16
+ server {
17
+ listen 25;
18
+ protocol smtp;
19
+ smtp_auth login plain cram-md5;
20
+ }
21
+
22
+ server {
23
+ listen 110;
24
+ protocol pop3;
25
+ pop3_auth plain apop cram-md5;
26
+ }
27
+
28
+ server {
29
+ listen 143;
30
+ protocol imap;
31
+ }
32
+}