mailcow-dockerized/data/conf/nginx/templates
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
..
listen_plain.template [SSL] restore old nginx templates. fix possible issues with custom nginx sites 2019-10-20 16:41:53 +02:00
listen_ssl.template "listen ... http2" directive is deprecated 2023-08-04 13:59:56 +02:00
server_name.template.sh [Config] Add ADDITIONAL_SERVER_NAMES as optional config to define additional server_name parameters for mailcow UI 2021-02-16 16:38:28 +01:00
sites.template.sh Fix custom http redirects with TLS-SNI 2019-10-20 20:24:16 +02:00
sogo.template [SOGo] SOGo refuses to bind to IPv6, so force IPv4 in proxy_pass, fixes #1006 2018-02-12 21:32:49 +01:00
sogo_eas.template.sh [Nginx] Mark script not executable 2020-07-14 13:24:37 +02:00