Added http2 for nginx

This commit is contained in:
Spitap
2023-05-25 11:16:32 +02:00
parent ffb3356b46
commit 6e3a232e83
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;