move sites to http, add stream proxies

This commit is contained in:
2023-12-12 10:14:10 -08:00
parent ec0facac21
commit 1c8432b2d4
14 changed files with 15 additions and 2 deletions

6
http/default.conf Normal file
View File

@@ -0,0 +1,6 @@
server {
listen 443 ssl http2 default_server;
server_name *.tronnet.net;
include snippets/ssl-acme.conf;
return 301 https://tronnet.net;
}

9
http/gitea.conf Normal file
View File

@@ -0,0 +1,9 @@
server {
listen 443 ssl http2;
server_name git.tronnet.net;
include snippets/ssl-acme.conf;
location / {
proxy_pass http://gitea.dmz:3000;
proxy_redirect default;
}
}

11
http/homepage.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
server_name tronnet.net;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://sites.dmz:80;
proxy_redirect default;
}
}

11
http/ldap.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
server_name ldap.tronnet.net;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://ldap.dmz:80;
proxy_redirect default;
}
}

9
http/mail.conf Normal file
View File

@@ -0,0 +1,9 @@
server {
listen 443 ssl http2;
server_name mail.tronnet.net;
include snippets/ssl-acme.conf;
location / {
proxy_pass http://mail.dmz/;
proxy_redirect default;
}
}

11
http/opns.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
server_name opns.tronnet.net;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass https://10.0.0.1:10443;
proxy_redirect default;
}
}

18
http/paas.conf Normal file
View File

@@ -0,0 +1,18 @@
server {
listen 443 ssl http2;
server_name paas.tronnet.net;
include snippets/ssl-acme.conf;
include snippets/error-pages.conf;
location /dashboard/ {
include snippets/proxy-errors.conf;
proxy_pass http://proxmoxaas.dmz:8080/;
proxy_redirect default;
}
location /api/ {
proxy_pass http://proxmoxaas.dmz:8081/api/;
proxy_redirect default;
}
location = / {
return 301 "/dashboard/";
}
}

9
http/pve.conf Normal file
View File

@@ -0,0 +1,9 @@
server {
listen 443 ssl http2;
server_name pve.tronnet.net;
include snippets/ssl-acme.conf;
location / {
proxy_pass https://geigatron-0-pve.tn:8006;
proxy_redirect default;
}
}

5
http/redirect.conf Normal file
View File

@@ -0,0 +1,5 @@
server {
listen 80 default_server;
server_name *.tronnet.net;
return 301 https://$host$request_uri;
}

11
http/root.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
server_name root.tronnet.net;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://root.root:80;
proxy_redirect default;
}
}

11
http/status.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
server_name status.tronnet.net;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://sites.dmz:8080;
proxy_redirect default;
}
}

11
http/wiki.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
server_name wiki.tronnet.net;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://sites.dmz:8081;
proxy_redirect default;
}
}