Skip to content

Commit

Permalink
allow nginx/apache group to write to FPM socket (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw authored May 16, 2024
1 parent 1fccef2 commit 70c0f69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/1227-fpm-socket-permissions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- zabbix_web - make the FPM socket group-writable so the web server can properly forward requests to the FPM process
2 changes: 1 addition & 1 deletion roles/zabbix_web/templates/php-fpm.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ listen.acl_users = {{ zabbix_php_fpm_conf_user if zabbix_php_fpm_conf_user is de
{% endif %}
listen.owner = {{ zabbix_php_fpm_conf_user if zabbix_php_fpm_conf_user is defined else zabbix_web_user }}
listen.group = {{ _nginx_group if zabbix_web_http_server=='nginx' else _apache_group }}
listen.mode = 0644
listen.mode = 0660
listen.allowed_clients = 127.0.0.1

pm = dynamic
Expand Down

0 comments on commit 70c0f69

Please sign in to comment.