mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
serve demos from test nginx
This commit is contained in:
parent
bfaaaa17d7
commit
a33365d4c3
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@ server {
|
||||||
|
|
||||||
try_files $uri /index.php?$query_string /index.php;
|
try_files $uri /index.php?$query_string /index.php;
|
||||||
|
|
||||||
|
location /static/ {
|
||||||
|
alias /demos/;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^(.+?\.php)(/.*)?$ {
|
location ~ ^(.+?\.php)(/.*)?$ {
|
||||||
fastcgi_param PATH_INFO $2;
|
fastcgi_param PATH_INFO $2;
|
||||||
fastcgi_pass api:9000;
|
fastcgi_pass api:9000;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue