move sites to http, add stream proxies
This commit is contained in:
6
http/default.conf
Normal file
6
http/default.conf
Normal 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
9
http/gitea.conf
Normal 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
11
http/homepage.conf
Normal 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
11
http/ldap.conf
Normal 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
9
http/mail.conf
Normal 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
11
http/opns.conf
Normal 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
18
http/paas.conf
Normal 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
9
http/pve.conf
Normal 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
5
http/redirect.conf
Normal 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
11
http/root.conf
Normal 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
11
http/status.conf
Normal 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
11
http/wiki.conf
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user