nginx/sites/paas.conf

18 lines
414 B
Plaintext
Raw Normal View History

2023-10-05 21:12:18 +00:00
server {
listen 443 ssl http2;
server_name paas.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
location /dashboard/ {
2023-10-12 00:44:14 +00:00
#include /etc/nginx/snippets/error-pages.conf;
2023-10-05 21:12:18 +00:00
proxy_pass http://proxmoxaas.dmz:8080/;
proxy_redirect default;
}
location /api/ {
2023-10-12 00:44:14 +00:00
proxy_pass http://proxmoxaas.dmz:80/api/;
2023-10-05 21:12:18 +00:00
proxy_redirect default;
}
2023-10-12 00:44:14 +00:00
location = / {
return 301 "/dashboard/";
}
2023-10-05 21:12:18 +00:00
}