0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-02-08 04:26:39 -05:00

doc(reverse-proxy): use http2 directive

Avoid 

```
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in
```

REF: https://nginx.org/en/docs/http/ngx_http_v2_module.html
This commit is contained in:
jpn 2025-01-26 00:16:27 +00:00
parent 449f1f5f84
commit 10864b4241

View file

@ -114,8 +114,9 @@ listen [::]:80;
to
```nginx
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
```
**Add the SSL certificate information**