mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add automail conf for https, + increase priority for automail conf and diagnosis
This commit is contained in:
parent
35144c7c0a
commit
1e6da91c78
1 changed files with 6 additions and 2 deletions
|
@ -18,11 +18,11 @@ server {
|
||||||
return 301 https://$http_host$request_uri;
|
return 301 https://$http_host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/ynh-diagnosis/ {
|
location ^~ '/.well-known/ynh-diagnosis/' {
|
||||||
alias /tmp/.well-known/ynh-diagnosis/;
|
alias /tmp/.well-known/ynh-diagnosis/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/autoconfig/mail/ {
|
location ^~ '/.well-known/autoconfig/mail/' {
|
||||||
alias /var/www/.well-known/{{ domain }}/autoconfig/mail/;
|
alias /var/www/.well-known/{{ domain }}/autoconfig/mail/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,6 +52,10 @@ server {
|
||||||
resolver_timeout 5s;
|
resolver_timeout 5s;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
location ^~ '/.well-known/autoconfig/mail/' {
|
||||||
|
alias /var/www/.well-known/{{ domain }}/autoconfig/mail/;
|
||||||
|
}
|
||||||
|
|
||||||
access_by_lua_file /usr/share/ssowat/access.lua;
|
access_by_lua_file /usr/share/ssowat/access.lua;
|
||||||
|
|
||||||
include /etc/nginx/conf.d/{{ domain }}.d/*.conf;
|
include /etc/nginx/conf.d/{{ domain }}.d/*.conf;
|
||||||
|
|
Loading…
Add table
Reference in a new issue