mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-04-26 13:40:30 +03: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:
parent
449f1f5f84
commit
10864b4241
1 changed files with 3 additions and 2 deletions
|
@ -114,8 +114,9 @@ listen [::]:80;
|
||||||
to
|
to
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
```
|
```
|
||||||
|
|
||||||
**Add the SSL certificate information**
|
**Add the SSL certificate information**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue