remove error pages for api proxies
This commit is contained in:
parent
75e24764be
commit
4dd8b1cff9
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user