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:
parent
24f02b7c9b
commit
79b99ded61
1 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue