nginx/sites/paas.conf

19 lines
451 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;
include /etc/nginx/snippets/error-pages.conf;
2023-10-05 21:12:18 +00:00
location /dashboard/ {
include /etc/nginx/snippets/proxy-errors.conf;
2023-10-05 21:12:18 +00:00
proxy_pass http://proxmoxaas.dmz:8080/;
proxy_redirect default;
}
location /api/ {
2023-11-17 03:39:44 +00:00
proxy_pass http://proxmoxaas.dmz:8081/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
}