19 lines
396 B
Smarty
19 lines
396 B
Smarty
upstream automx {
|
|
server unix:%uwsgi_socket_path fail_timeout=0;
|
|
}
|
|
|
|
server {
|
|
listen 80 http2;
|
|
listen [::]:80 http2;
|
|
server_name %hostname;
|
|
root /srv/automx/instance;
|
|
|
|
access_log /var/log/nginx/%{hostname}-access.log;
|
|
error_log /var/log/nginx/%{hostname}-error.log;
|
|
|
|
location /mail/config-v1.1.xml {
|
|
include uwsgi_params;
|
|
uwsgi_pass automx;
|
|
}
|
|
}
|