Bonjour,
Voila je rencontre un petit problème ma config nginx
server {
listen 80;
server_name mail.domain.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name mail.domain.com;
ssl_certificate /etc/letsencrypt/live/mail.domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mail.domain.com/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
ssl_stapling on;
ssl_stapling_verify on;
add_header Strict-Transport-Security max-age=15768000;
root /usr/share/roundcubemail/;
index index.php index.html index.htm;
location ~ \.(htm|html|php)$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# FastCGI TCP Socket
# fastcgi_pass 127.0.0.1:9007;
# FastCGI Unix Domain Socket
fastcgi_pass unix:/var/run/php-fpm/www.socket;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_read_timeout 630;
fastcgi_param HTTPS on;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
J'ai z-push qui ce situe dans /usr/share/z-push.
Z-push doit etre accessible via l'url suivante: mail.domain.com/Microsoft-Server-ActiveSync
Comment dois-je faire?
Actuellement j'ai une installation apache ou j'ai configuré ca ainsi:
RewriteEngine On
RewriteRule ^/Microsoft-Server-ActiveSync$ /usr/share/z-push/index.php
<Directory /usr/share/z-push/>
RewriteRule .* - [E=HTTP_MS_ASPROTOCOLVERSION:%{HTTP:Ms-Asprotocolversion}]
RewriteRule .* - [E=HTTP_X_MS_POLICYKEY:%{HTTP:X-Ms-Policykey}]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</Directory>
Merci d'avance :)