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