Prepare optional webgui setup (Apache, nginx, lighttpd)

This commit is contained in:
2026-08-28 20:00:10 +02:00
parent 93095c630c
commit 1bb98f2515
6 changed files with 78 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
location ^~ /yms/ {
alias /usr/share/yms/webgui/;
index index.php;
}
location ~ ^/yms/.*\.inc$ {
deny all;
}
location ~ ^/yms/(.+\.php)$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/share/yms/webgui/$1;
fastcgi_param SCRIPT_NAME /yms/$1;
fastcgi_pass unix:@PHP_FPM_SOCKET@;
}