mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
Adding config directory to nginx config
This is according to the template from the Ampache documentation
This commit is contained in:
parent
104cec356a
commit
3dd2e65d50
1 changed files with 7 additions and 2 deletions
|
@ -22,6 +22,11 @@ location PATHTOCHANGE {
|
|||
return 403;
|
||||
}
|
||||
|
||||
location ^~ /config/ {
|
||||
deny all;
|
||||
return 403;
|
||||
}
|
||||
|
||||
rewrite ^PATHTOCHANGE/play/ssid/(\w+)/type/(\w+)/oid/([0-9]+)/uid/([0-9]+)/name/(.*)$ PATHTOCHANGE/play/index.php?ssid=$1&type=$2&oid=$3&uid=$4&name=$5 last;
|
||||
rewrite ^PATHTOCHANGE/play/ssid/(\w+)/type/(\w+)/oid/([0-9]+)/uid/([0-9]+)/client/(.*)/noscrobble/([0-1])/name/(.*)$ PATHTOCHANGE/play/index.php?ssid=$1&type=$2&oid=$3&uid=$4&client=$5&noscrobble=$6&name=$7 last;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue