mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +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;
|
||||
|
||||
location /static/ {
|
||||
alias /demos/;
|
||||
}
|
||||
|
||||
location ~ ^(.+?\.php)(/.*)?$ {
|
||||
fastcgi_param PATH_INFO $2;
|
||||
fastcgi_pass api:9000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue