In the current configuration, the web server is not allowed to write to the FPM socket, causing a "bad gateway" error, as the web server cannot forward requests over the socket.
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
zabbix-web
ADDITIONAL INFORMATION
Before this change, the FPM socket has these permissions:
srw-r--r-- 1 zabbix-fpm www-data 0 May 13 13:13 /run/php/zabbix.sock
The web server, which runs as user/group www-data needs write access to this socket in order to forward requests.
With this PR applied, the socket permissions become:
srw-rw---- 1 zabbix-fpm www-data 0 May 13 13:15 /run/php/zabbix.sock
SUMMARY
In the current configuration, the web server is not allowed to write to the FPM socket, causing a "bad gateway" error, as the web server cannot forward requests over the socket.
ISSUE TYPE
COMPONENT NAME
zabbix-web
ADDITIONAL INFORMATION
Before this change, the FPM socket has these permissions:
The web server, which runs as user/group
www-data
needs write access to this socket in order to forward requests.With this PR applied, the socket permissions become: