Fix site
parent
8d1c6e5f49
commit
0f5c930e48
|
@ -76,10 +76,6 @@ server {
|
||||||
rewrite ^(.*)$ $1.php last;
|
rewrite ^(.*)$ $1.php last;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/ {
|
|
||||||
try_files /_apidocs.html;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ ^/api/v1/(.*)$ {
|
location ~ ^/api/v1/(.*)$ {
|
||||||
try_files $uri $uri/ /json_api.php?query=$1;
|
try_files $uri $uri/ /json_api.php?query=$1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue