Added http2 for nginx
This commit is contained in:
@@ -3,8 +3,8 @@ upstream automx {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80 http2;
|
||||||
listen [::]:80;
|
listen [::]:80 http2;
|
||||||
server_name %hostname;
|
server_name %hostname;
|
||||||
root /srv/automx/instance;
|
root /srv/automx/instance;
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl http2;
|
||||||
server_name %hostname;
|
server_name %hostname;
|
||||||
root %app_instance_path;
|
root %app_instance_path;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user