#83 http://mail.a-lec.org non joignable en HTTP v4 et v6
This commit is contained in:
parent
dcfdf95806
commit
3b20742a57
2 changed files with 7 additions and 9 deletions
|
@ -34,10 +34,6 @@ server {
|
|||
# d'autres VM et garder uniquement le path /mail
|
||||
location /mail/ {
|
||||
alias /var/www/html/autoconfig/mail/;
|
||||
|
||||
# location ~* ^/mail/([a-zA-Z\-\.]+\.xml)(\?.*)?$ {
|
||||
# try_files /var/www/html/autoconfig/mail/\1 =404;
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,12 +48,14 @@ server {
|
|||
server {
|
||||
server_name mail.a-lec.org;
|
||||
|
||||
listen 80 ;
|
||||
listen [::]:80;
|
||||
|
||||
set_real_ip_from 192.168.0.1;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
root /var/www/html/roundcube;
|
||||
access_log /var/log/nginx/roundcube/access.log;
|
||||
error_log /var/log/nginx/roundcube/error.log warn;
|
||||
|
||||
return 302 https://mail.a-lec.org$request_uri;
|
||||
location / {
|
||||
return 302 https://mail.a-lec.org$request_uri;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue