diff --git a/root/dashboard/dashboard.subdomain.conf.sample b/root/dashboard/dashboard.subdomain.conf.sample index 3f3e57b..ad7730c 100644 --- a/root/dashboard/dashboard.subdomain.conf.sample +++ b/root/dashboard/dashboard.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/01/12 +## Version 2022/01/14 # Make sure that your dns has a cname set for dashboard server { @@ -37,6 +37,14 @@ server { allow 192.168.0.0/16; deny all; + try_files $uri $uri/ /index.php?$args =404; + } + location ~ \.php$ { + allow 10.0.0.0/8; + allow 172.16.0.0/12; + allow 192.168.0.0/16; + deny all; + fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php;