Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make php socket accessible for webserver group #426

Merged
merged 1 commit into from
Jul 14, 2021
Merged

Make php socket accessible for webserver group #426

merged 1 commit into from
Jul 14, 2021

Conversation

baszoetekouw
Copy link
Contributor

SUMMARY

Make php socket accessible for webserver group

In the current setup the user/group who owns the php-fpm socket is always identical to the user that is used to run the php-fpm processes (either zabbix_php_fpm_conf_user or zabbix_web_conf_web_user).

This produces an broken setup, as nginx/apache are running as different users (www-data on Debian), so they are not able to access the socket.

Fixes: #425

I'm not entirely sure if this patch is really the nicest way to handle this, as now the user is no longer able to override the owner of the socket from a group var.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

zabbix-web

@dj-wasabi dj-wasabi merged commit c15552e into ansible-collections:main Jul 14, 2021
@dj-wasabi
Copy link
Contributor

Thanks bro! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

php-fpm socket not accesible by nginx
2 participants