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

icingacli setup config webserver --fpm-uri outputs wrong config when using socks #5249

Open
Turin86 opened this issue Aug 22, 2024 · 0 comments

Comments

@Turin86
Copy link

Turin86 commented Aug 22, 2024

Describe the bug

icingacli setup config webserver --fpm-uri outputs wrong config when using socks

To Reproduce

icingacli help setup config webserver apache --enable-fpm --fpm-uri=/run/php/php8.3-fpm.sock

Expected behavior

SetHandler "proxy:unix:/run/php/php8.3-fpm.sock|fcgi://localhost/"
instead of
SetHandler "proxy:fcgi:///run/php/php8.3-fpm.sock"

It could be easier to have a --fpm-url (why URI, anyway?) and --fpm-sock-path mutually exclusive options to avoid confusion.

Your Environment

Include as many relevant details about the environment you experienced the problem in
Icinga Web 2 2.12.1
PHP Version 8.3.6
MODULE VERSION
setup 2.12.1
director 1.10.2
graphite 1.2.2
incubator 0.20.0
reactbundle 0.9.0

  • Server operating system and version:
    Distributor ID: Ubuntu
    Description: Ubuntu 24.04 LTS
    Release: 24.04
    Codename: noble

Additional context

Add any other context about the problem here.

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

No branches or pull requests

1 participant