This commit is contained in:
Joey Kimsey
2024-08-07 19:21:20 -04:00
parent f72fda868c
commit 8f2b00ae19
28 changed files with 4082 additions and 84 deletions

12
resources/nginx.html Normal file
View File

@ -0,0 +1,12 @@
location /web/www/errors {
rewrite ^/web/www/errors/(.*)$ /web/www/index.php?error=$1 break;
}
location /web/www/ {
if ($remote_addr !~ "^127\.0\.0\.1"){
rewrite ^/web/www/(.+)$ /web/www/indexParser.php?local=false&url=$1 break;
}
if (!-e $request_filename){
rewrite ^/web/www/(.+)$ /web/www/indexParser.php?missing=true&url=$1 [QSA,L]";;
}
}