switch to http2 directive
This commit is contained in:
parent
d8aff4737f
commit
93dedc5321
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2 default_server;
|
||||
listen 443 ssl default_server;
|
||||
server_name *.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
return 301 https://tronnet.net;
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name git.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
location / {
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
include snippets/proxy-errors.conf;
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name mail.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
location / {
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name minecraft.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
include snippets/proxy-errors.conf;
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name opns.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
include snippets/proxy-errors.conf;
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name paas.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
include snippets/error-pages.conf;
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name pve.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
location / {
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name root.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
include snippets/proxy-errors.conf;
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name status.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
include snippets/proxy-errors.conf;
|
||||
|
@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name wiki.tronnet.net;
|
||||
include snippets/ssl-acme.conf;
|
||||
include snippets/proxy-errors.conf;
|
||||
|
@ -34,6 +34,9 @@ http {
|
||||
# proxy parameters
|
||||
include proxy-params.conf;
|
||||
|
||||
# enable http2
|
||||
http2 on;
|
||||
|
||||
# include http
|
||||
include http/*.conf;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user