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:
parent
449f1f5f84
commit
10864b4241
1 changed files with 3 additions and 2 deletions
|
@ -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**
|
||||
|
|
Loading…
Add table
Reference in a new issue