Refactor Fixes

This commit is contained in:
Michael 2024-11-04 15:16:55 -05:00
parent 81498ab832
commit 9dfa78929d
23 changed files with 17 additions and 64 deletions

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name auth.shad.moe www.auth.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name axoblu.konpeki.solutions www.axoblu.konpeki.solutions;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name dash.shad.moe www.dash.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name docs.shad.moe www.docs.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name git.shad.moe www.git.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name graph.shad.moe www.graph.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name internal.shad.moe www.internal.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name konpeki.solutions www.konpeki.solutions;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name link.gpoc.shad.moe www.link.gpoc.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
proxy_cache_path /var/www/cache levels=1:2 keys_zone=map:8m max_size=1g inactive=24h;
server {

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name nxt.shad.moe www.nxt.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name play.gpoc-modded.shad.moe www.play.gpoc-modded.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name play.gpoc.shad.moe www.play.gpoc.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name rss.shad.moe www.rss.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name theshadoweevee.konpeki.solutions www.theshadoweevee.konpeki.solutions;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name vault.shad.moe www.vault.shad.moe;

View file

@ -1,6 +1,3 @@
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name *.konpeki.solutions;

View file

@ -24,6 +24,10 @@ events {
}
http {
# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
# Includes mapping of file name extensions to MIME types of responses
# and defines the default type.
include /etc/nginx/mime.types;
@ -38,7 +42,7 @@ http {
# error code 413. Set to 0 to disable. Default is '1m'.
client_max_body_size 1G;
client_body_timeout 120s
client_body_timeout 120s;
# Sendfile copies data between one FD and other from within the kernel,
# which is more efficient than read() + write(). Default is off.

View file

@ -1,8 +1,8 @@
# Upgrade Websocket Connections
include snippets/websocket-upgrade.conf;
include snippets/global/websocket-upgrade.conf;
# Add Upstreams Master List
include snippets/upstreams-list.conf;
include snippets/proxy/upstreams-list.conf;
# Upgrade HTTP Connections to HTTPS
include snippets/upgrade-http.conf;
include snippets/global/upgrade-http.conf;

View file

@ -5,18 +5,18 @@ listen 443 ssl;
listen [::]:443 ssl;
# Listen on port 443 with quic (IPv4/IPv6)
listen 443 quic reuseport;
listen [::]:443 quic reuseport;
#listen 443 quic reuseport;
#listen [::]:443 quic reuseport;
# Enable http2
http2 on;
# Enable http3
http3 on;
#http3 on;
# Enable QUIC Functions
quic_retry on;
add_header Alt-Svc 'h3=":443"; ma=86400';
#quic_retry on;
#add_header Alt-Svc 'h3=":443"; ma=86400';
# Set SSL Session Parameters
ssl_session_timeout 1d;
@ -39,4 +39,4 @@ ssl_stapling on;
ssl_stapling_verify on;
# Include a resolver for OSCP Stapling
include snippets/resolver.conf;
include snippets/global/resolver.conf;

View file

@ -27,4 +27,4 @@ location ~ ^/test-status-cats/(?<cat>.*)$ {
}
# Include a resolver for domain resolution
include snippets/resolver.conf;
include snippets/global/resolver.conf;

View file

@ -2,7 +2,7 @@ server {
listen 80;
listen [::]:80;
server_name *;
server_name _;
location / {
return 301 https://$host$request_uri;

View file

@ -14,7 +14,7 @@ upstream bsky {
}
upstream dash {
server 192.168.1.210:3000
server 192.168.1.210:3000;
}
upstream freshrss {