1
0
Fork 0
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:
Robin Appelman 2022-05-09 22:10:32 +02:00
commit a33365d4c3

View file

@ -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;