Enable HTTP/2 support on master.tus.io
This commit is contained in:
parent
89dbe66a4f
commit
36f646851d
|
@ -188,7 +188,7 @@ setup {
|
|||
name = "Setup nginx"
|
||||
tasks {
|
||||
name = "nginx | Add nginx PPA"
|
||||
apt_repository = "repo='ppa:nginx/stable'"
|
||||
apt_repository = "repo='ppa:ondrej/nginx'"
|
||||
}
|
||||
tasks {
|
||||
name = "nginx | Create public www directory"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server ipv6only=on;
|
||||
listen 80 http2 default_server;
|
||||
listen [::]:80 http2 default_server ipv6only=on;
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ipv6only=on ssl;
|
||||
listen 443 http2 ssl;
|
||||
listen [::]:443 http2 ipv6only=on ssl;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/master.tus.io/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/master.tus.io/privkey.pem;
|
||||
|
|
Loading…
Reference in New Issue