2014-06-15 22:43:38 +02:00
|
|
|
location PATHTOCHANGE {
|
2014-06-16 10:52:28 +02:00
|
|
|
alias ALIASTOCHANGE;
|
2014-06-15 22:45:03 +02:00
|
|
|
|
2014-06-30 17:19:09 +02:00
|
|
|
try_files $uri $uri/ PATHTOCHANGE/yourls-loader.php;
|
2014-06-16 10:43:17 +02:00
|
|
|
|
2014-06-16 10:52:28 +02:00
|
|
|
index index.php index.html index.htm;
|
2014-06-15 22:36:13 +02:00
|
|
|
|
2014-06-16 10:52:28 +02:00
|
|
|
location ~ \.php$ {
|
2014-06-17 09:45:12 +02:00
|
|
|
fastcgi_split_path_info ^(.+.php)(/.+)$;
|
|
|
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
2014-06-16 10:48:07 +02:00
|
|
|
fastcgi_index index.php;
|
2014-06-17 09:45:12 +02:00
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
2014-06-16 10:48:07 +02:00
|
|
|
include fastcgi_params;
|
|
|
|
}
|
|
|
|
|
2014-06-16 07:19:09 +02:00
|
|
|
|
2014-06-13 07:30:00 +02:00
|
|
|
# Include SSOWAT user panel.
|
|
|
|
include conf.d/yunohost_panel.conf.inc;
|
2014-06-13 15:06:28 +02:00
|
|
|
}
|