1.3 KiB
1.3 KiB
BastionGuard WebUI web-server configuration files
The CMake install step places the WebUI in:
/usr/share/BastionGuard/webui
Use the matching configuration for your server:
apache2-fpm-bastionguard-webui.conf— Apache 2.4 with PHP-FPM on Debian/Ubuntu-style systems.apache2-mod-php-bastionguard-webui.conf— Apache 2.4 with mod_php.httpd-arch-fpm-bastionguard-webui.conf— Arch/Fedora/RHEL httpd with PHP-FPM.nginx-bastionguard-webui.conf— Nginx with PHP-FPM.lighttpd-bastionguard-webui.conf— Lighttpd with PHP-FPM.Caddyfile-bastionguard-webui— Caddy with PHP-FPM.php-fpm-bastionguard-webui.pool.conf— optional dedicated PHP-FPM pool.
After installing the WebUI helper, always run:
cd /usr/share/BastionGuard/webui
sudo bash scripts/install-webui-helpers.sh "$USER"
sudo systemctl daemon-reload
sudo systemctl enable --now bastionguard-webui-inotify.service
Restart the services used by your platform:
sudo systemctl restart httpd 2>/dev/null || true
sudo systemctl restart apache2 2>/dev/null || true
sudo systemctl restart nginx 2>/dev/null || true
sudo systemctl restart lighttpd 2>/dev/null || true
sudo systemctl restart caddy 2>/dev/null || true
sudo systemctl restart php-fpm 2>/dev/null || true