1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Update nginx.conf

This commit is contained in:
abeudin 2014-12-29 13:27:09 +01:00
parent 6315fa34a8
commit d58056bdb3

View file

@ -4,18 +4,18 @@ location /Microsoft-Server-ActiveSync {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
index index.php; index index.php;
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ index.php;
rewrite ^(.*)$ /Microsoft-Server-ActiveSync/index.php last;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; include fastcgi_params;
fastcgi_param AUTH_USER $remote_user; fastcgi_param HTTPS on;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_read_timeout 630;
} }
# Include SSOWAT user panel.
# Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;
include conf.d/yunohost_panel.conf.inc;
} }