mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
40 lines
569 B
Nginx Configuration File
40 lines
569 B
Nginx Configuration File
user nobody;
|
|
worker_processes 1;
|
|
error_log logs/error.log info;
|
|
pid logs/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
multi_accept on;
|
|
}
|
|
|
|
http {
|
|
perl_modules perl/lib;
|
|
perl_require mailauth.pm;
|
|
|
|
server {
|
|
location /auth {
|
|
perl mailauth::handler;
|
|
}
|
|
}
|
|
}
|
|
|
|
mail {
|
|
auth_http 127.0.0.1:80/auth;
|
|
|
|
pop3_capabilities "TOP" "USER";
|
|
imap_capabilities "IMAP4rev1" "UIDPLUS";
|
|
|
|
server {
|
|
listen 110;
|
|
protocol pop3;
|
|
proxy on;
|
|
}
|
|
|
|
server {
|
|
listen 143;
|
|
protocol imap;
|
|
proxy on;
|
|
}
|
|
}
|