mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-10 04:18:10 +02:00
24 lines
599 B
Plaintext
24 lines
599 B
Plaintext
server {
|
|
listen 9082 ssl http2;
|
|
|
|
ssl_certificate /etc/ssl/mail/cert.pem;
|
|
ssl_certificate_key /etc/ssl/mail/key.pem;
|
|
|
|
index mailcowauth.php;
|
|
server_name _;
|
|
error_log /var/log/nginx/error.log;
|
|
access_log /var/log/nginx/access.log;
|
|
root /mailcowauth;
|
|
client_max_body_size 10M;
|
|
|
|
location ~ \.php$ {
|
|
client_max_body_size 10M;
|
|
try_files $uri =404;
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_pass phpfpm:9001;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
}
|
|
}
|