mailcow-dockerized/data/conf/nginx
clydegale 6caa1bcdd3
"listen ... http2" directive is deprecated
Using to `nginx 1.25.1` to check the config the following warnings are thrown:

```
/etc/nginx/conf.d # nginx -t
2023/08/04 13:53:03 [warn] 69#69: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/listen_ssl.active:1
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/listen_ssl.active:1
2023/08/04 13:53:03 [warn] 69#69: the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/listen_ssl.active:2
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/listen_ssl.active:2
```

This fix results in the following output, fixing the issue:
```
/etc/nginx/conf.d # nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
```
2023-08-04 13:59:56 +02:00
..
includes Rspamd returns 401 on unsuccesful logins 2023-05-28 22:43:26 +02:00
templates "listen ... http2" directive is deprecated 2023-08-04 13:59:56 +02:00
000-map-size.conf [Nginx] Add larger map bucket size, fixes 1112 2018-03-01 07:28:06 +01:00
dynmaps.conf [Nginx] Use names instead of IPs 2018-01-21 14:59:45 +01:00
meta_exporter.conf [Rspamd] Apply ratelimit against authenticated user instead of envelope from 2018-04-26 13:56:07 +02:00
site.conf server_tokens off in default settings (#4073) 2021-04-26 13:20:23 +02:00