Skip to content

RHEL 10 nginx issues with http2 config #1668

@nlvw

Description

@nlvw

listen {{ zabbix_web_vhost_tls_port }} ssl {{ 'http2' if zabbix_web_ssl_http2 else '' }};

The version of nginx that comes with RHEL 10 (1.26.3) no longer supports http2 as part of the listen config item. It needs to be moved to it's own line. This causes nginx to fail to reload and the ansible role to fail.

Bad config

server {
    listen 443 ssl http2;

Good config

server {
    listen 443 ssl;
    http2 on;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions