switch to http2 directive

This commit is contained in:
Arthur Lu 2024-09-09 12:34:14 -07:00
parent d8aff4737f
commit 93dedc5321
12 changed files with 14 additions and 11 deletions

View File

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

View File

@ -1,5 +1,5 @@
server {
listen 443 ssl http2;
listen 443 ssl;
server_name git.tronnet.net;
include snippets/ssl-acme.conf;
location / {

View File

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

View File

@ -1,5 +1,5 @@
server {
listen 443 ssl http2;
listen 443 ssl;
server_name mail.tronnet.net;
include snippets/ssl-acme.conf;
location / {

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
server {
listen 443 ssl http2;
listen 443 ssl;
server_name pve.tronnet.net;
include snippets/ssl-acme.conf;
location / {

View File

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

View File

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

View File

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

View File

@ -34,6 +34,9 @@ http {
# proxy parameters
include proxy-params.conf;
# enable http2
http2 on;
# include http
include http/*.conf;
}