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

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/";
}
}