update paas.conf
This commit is contained in:
parent
e4d44484fb
commit
7ca4ae2c55
@ -1,14 +0,0 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name dashboard.tronnet.net;
|
||||
include /etc/nginx/snippets/ssl-acme.conf;
|
||||
location / {
|
||||
include /etc/nginx/snippets/error-pages.conf;
|
||||
proxy_pass http://proxmoxaas.dmz:8080;
|
||||
proxy_redirect default;
|
||||
}
|
||||
location /api/ {
|
||||
proxy_pass http://proxmoxaas.dmz:80;
|
||||
proxy_redirect default;
|
||||
}
|
||||
}
|
@ -2,14 +2,16 @@ 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/ {
|
||||
#include /etc/nginx/snippets/error-pages.conf;
|
||||
proxy_pass http://proxmoxaas.dmz:8080/;
|
||||
proxy_redirect default;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
location /api/ {
|
||||
proxy_pass http://proxmoxaas.dmz:80/;
|
||||
proxy_pass http://proxmoxaas.dmz:80/api/;
|
||||
proxy_redirect default;
|
||||
}
|
||||
location = / {
|
||||
return 301 "/dashboard/";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user