nginx/http/paas.conf

19 lines
412 B
Plaintext
Raw Normal View History

2023-10-05 21:12:18 +00:00
server {
2024-09-09 19:34:14 +00:00
listen 443 ssl;
2023-10-05 21:12:18 +00:00
server_name paas.tronnet.net;
2023-12-12 03:05:00 +00:00
include snippets/ssl-acme.conf;
include snippets/error-pages.conf;
2023-10-05 21:12:18 +00:00
location /dashboard/ {
2023-12-12 03:05:00 +00:00
include 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
}