update sites

This commit is contained in:
Arthur Lu 2023-10-05 21:12:18 +00:00
parent 0a5bb1d0f1
commit e4d44484fb

15
sites/paas.conf Normal file
View File

@ -0,0 +1,15 @@
server {
listen 443 ssl http2;
server_name paas.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf;
location /dashboard/ {
proxy_pass http://proxmoxaas.dmz:8080/;
proxy_redirect default;
proxy_set_header Host $host;
}
location /api/ {
proxy_pass http://proxmoxaas.dmz:80/;
proxy_redirect default;
}
}