mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-25 09:36:31 -05:00
Updated to new http2 syntax
This commit is contained in:
parent
0e72302e88
commit
88057d3f06
3 changed files with 12 additions and 8 deletions
|
@ -162,8 +162,9 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
server_name GIT.SERVER.URL;
|
server_name GIT.SERVER.URL;
|
||||||
|
|
||||||
ssl_certificate /path/to/chain;
|
ssl_certificate /path/to/chain;
|
||||||
|
|
|
@ -38,8 +38,9 @@ Under standard HTTPS, a SSL handshake occurs. Though this seems pointless if all
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
ssl_reject_handshake on;
|
ssl_reject_handshake on;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
@ -59,8 +60,9 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
ssl_reject_handshake on;
|
ssl_reject_handshake on;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
|
@ -166,8 +166,9 @@ server {
|
||||||
# ....
|
# ....
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
# ...
|
# ...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue