Code Igniter fixes

This commit is contained in:
tokslaw7
2023-04-16 00:43:24 +00:00
parent 799bc06d0f
commit 0cf771f8b3
96 changed files with 37 additions and 7 deletions
+13 -7
View File
@@ -36,14 +36,20 @@ http {
}
location / {
# Check if a file or directory index file exists, else route it to index.php.
try_files $uri $uri/ /index.php;
try_files $uri $uri/ /index.php$is_args$args;
}
location = /index.php {
fastcgi_pass host.docker.internal:9999;
fastcgi_param SCRIPT_FILENAME /opt/mainsite/wrenchboard/www-api/public$fastcgi_script_name;
include fastcgi_params;
}
location ~ \.php$ {
fastcgi_pass host.docker.internal:9999;
fastcgi_param SCRIPT_FILENAME /opt/mainsite/wrenchboard/www-api/public$fastcgi_script_name;
include fastcgi_params;
}
error_page 404 /index.php;
# deny access to hidden files such as .htaccess
location ~ /\. {
deny all;
}
location /svs/bko/ {