1
0
Fork 0
mirror of https://github.com/demostf/setup synced 2026-06-04 00:54:07 +02:00
This commit is contained in:
Robin Appelman 2022-01-23 17:12:37 +01:00
commit f7426209da
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.env
db_data
letsencrypt

View file

@ -11,6 +11,11 @@ server {
try_files $uri /index.php?$query_string /index.php;
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
set_real_ip_from 192.168.0.0/16;
real_ip_header X-Forwarded-For;
location ~ ^(.+?\.php)(/.*)?$ {
fastcgi_param PATH_INFO $2;
fastcgi_pass api:9000;