Fix install instructions to also add /status to Nginx/Apache2 reverse proxy on the host

This commit is contained in:
ralf 2023-01-18 14:37:24 -06:00
parent 3f5cb42c96
commit f4f77e1642
1 changed files with 18 additions and 4 deletions

View File

@ -2,7 +2,23 @@
/**
* EGgroupware administration PHP FPM status page
*
* 1. The status page needs to be enabled in EGroupware's Nginx talking to PHP FPM (/etc/egroupware-docker/egroupware-nginx.conf):
* 1a. The status page needs to be enabled in the Nginx reverse proxy on the host (/etc/egroupware-docker/nginx.conf):
*
* location = /status {
* proxy_pass http://127.0.0.1:8080;
* include proxy_params;
* }
*
* And Nginx need to be restarted: nginx -s reload
*
* 1b. If you use Apache2 on the host instead, you need to add it there (/etc/egroupware-docker/apache.conf):
*
* ProxyPass /status http://127.0.0.1:8080/status timeout=4000 connectiontimeout=600 acquire=3000 retry=6
* ProxyPassReverse /status http://127.0.0.1:8080/status
*
* And Apache need to be restarted: systemctl reload apache2 # httpd for RHEL/CentOS
*
* 2. The status page needs to be enabled in EGroupware's Nginx talking to PHP FPM (/etc/egroupware-docker/egroupware-nginx.conf):
*
* location = /status {
* if ($http_referer !~ /admin/fpm-status.php$) {
@ -14,9 +30,7 @@
* fastcgi_pass $egroupware:9000;
* }
*
* 2. The Nginx need to be restarted:
*
* docker restart egroupware-nginx
* And Nginx need to be restarted: docker restart egroupware-nginx
*
* 3. FPM need to be configured to serve status under /status
*