1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00

Trying to get nginx to work

This commit is contained in:
Rémy Garrigue 2015-08-21 10:06:42 +00:00
parent 24f02b7c9b
commit 79b99ded61

View file

@ -1,9 +1,8 @@
location YNH_WWW_PATH { location YNH_WWW_PATH {
alias YNH_WWW_ALIAS;
# Path to source if ($scheme = http) {
alias YNH_WWW_ALIAS ; rewrite ^ https://$server_name$request_uri? permanent;
}
# Example PHP configuration
index index.php; index index.php;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
@ -14,7 +13,6 @@ location YNH_WWW_PATH {
fastcgi_param REMOTE_USER $remote_user; fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;
} }
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
} }