Merge branch 'master' of ssh://gitlab.chiefsoft.net/WrenchBoard/WrenchBoradWeb

This commit is contained in:
Olusesan Ameye
2023-03-04 02:52:37 +00:00
2 changed files with 25 additions and 1 deletions
+23
View File
@@ -46,6 +46,29 @@ http {
}
}
location /svs/bko/ {
try_files $uri $uri/ /svs/bko/bkove.php?$args;
proxy_intercept_errors off;
error_page 404 /svs/bko/bkove.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
#if (!-f $document_root$fastcgi_script_name) {
# return 404;
#}
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 /svs/bko/bkove.php;
}
location = /svs/bko/bkove.php {
fastcgi_pass host.docker.internal:9999;
fastcgi_param SCRIPT_FILENAME /opt/mainsite/wrenchboard/www-api/public$fastcgi_script_name;
include fastcgi_params;
}
}
location /svs/user/ {
try_files $uri $uri/ /svs/user/userve.php?$args;
proxy_intercept_errors off;
+2 -1
View File
@@ -2,7 +2,8 @@
/*
BACK OFFICE API GATEWAY
*/
include '../../backend.php';
include '../../../backend.php';
//include '../../backend.php';
include '../constants.php';
include '../formarter.php';