add http/2

This commit is contained in:
Ashley Gau 2018-03-21 14:27:45 -07:00
parent 0e26977dca
commit 84a6e0c1ab
4 changed files with 4 additions and 3 deletions

View file

@ -61,7 +61,7 @@ Request Body:
# basically instructs to create an individual listening socket for each worker process (using the SO_REUSEPORT
# socket option), allowing a kernel to distribute incoming connections between worker processes.
listen 8080 default_server reuseport;
listen 8443 default_server ssl reuseport;
listen 8443 default_server ssl http2 reuseport;
ssl_certificate /certs/certificate.crt;
ssl_certificate_key /certs/privateKey.key;