grommunio-common rpm includes the default grommunio nginx config file: /usr/share/grommunio-common/nginx.conf
On line 58 there is the following http2 configuration:
http2 on;
Which is not supported/available in the default EL9 nginx version 1.20, as that option was added in nginx v1.25, and thus results in the following error:
$ nginx -t
nginx: [emerg] unknown directive "http2" in /usr/share/grommunio-common/nginx.conf:58
nginx: configuration file /etc/nginx/nginx.conf test failed
EL9 does have nginx 1.26 dnf module available, which would support the http2 option, but it seems it's impossible to use the nginx v1.26, as grommunio requires the nginx-mod-brotli rpm, which is currently only available for nginx v1.20:
`$ dnf remove nginx
$ dnf module enable nginx:1.26
$ dnf install nginx
Error:
Problem: problem with installed package grommunio-common-29.9-16.1.x86_64
- package grommunio-common-29.9-16.1.x86_64 from @System requires (nginx-mod-brotli if nginx), but none of the providers can be installed
- package grommunio-common-29.9-16.1.x86_64 from grommunio-community-el9 requires (nginx-mod-brotli if nginx), but none of the providers can be installed
- package nginx-mod-brotli-1.0.0rc-1.el9.x86_64 from epel requires nginx(abi) = 1.20.1, but none of the providers can be installed
- package nginx-mod-brotli-1.0.0rc+g2-6.101.x86_64 from grommunio-community-el9 requires nginx(abi) = 1.20.1, but none of the providers can be installed
- cannot install the best candidate for the job
- package nginx-2:1.20.1-24.el9.x86_64 from appstream is filtered out by modular filtering
- package nginx-2:1.20.1-24.el9_7.2.rocky.0.1.x86_64 from appstream is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
`
One can always edit /usr/share/grommunio-common/nginx.conf and fix the http2 options, but the default config should work out-of-the-box.
Problem noticed with grommunio-common-29.9-16.1.x86_64