remove error pages for api proxies

This commit is contained in:
Arthur Lu 2023-04-26 21:54:14 +00:00
parent 75e24764be
commit 4dd8b1cff9
2 changed files with 0 additions and 3 deletions

View File

@ -2,13 +2,11 @@ server {
listen 443 ssl http2;
server_name client.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / {
proxy_pass http://proxmoxaas.dmz:8080;
include /etc/nginx/snippets/proxy-params.conf;
}
location /api/ {
proxy_intercept_errors off;
proxy_pass http://proxmoxaas.dmz:80;
include /etc/nginx/snippets/proxy-params.conf;
}

View File

@ -2,7 +2,6 @@ server {
listen 443 ssl http2;
server_name pve.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / {
proxy_pass https://geigatron-0-pve.tn:8006;
include /etc/nginx/snippets/proxy-params.conf;