readd proxy_redirect default

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-04-27 15:56:36 -07:00
parent 9e49545d24
commit 549221a170
10 changed files with 21 additions and 10 deletions

View File

@ -4,9 +4,11 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
location / { location / {
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
proxy_pass http://proxmoxaas.dmz:8080; proxy_pass http://proxmoxaas.dmz:8080;
proxy_redirect default;
} }
location /api/ { location /api/ {
proxy_pass http://proxmoxaas.dmz:80; proxy_pass http://proxmoxaas.dmz:80;
proxy_redirect default;
} }
} }

View File

@ -4,6 +4,7 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://sites.dmz:80; proxy_pass http://sites.dmz:80;
proxy_redirect default;
} }
} }

View File

@ -5,5 +5,6 @@ server {
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://ldap.dmz:80; proxy_pass http://ldap.dmz:80;
proxy_redirect default;
} }
} }

View File

@ -4,6 +4,7 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass https://mail2.dmz; proxy_pass https://mail2.dmz;
proxy_redirect default;
} }
} }

View File

@ -4,6 +4,7 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://nextcloud2.dmz:11000; proxy_pass http://nextcloud2.dmz:11000;
proxy_redirect default;
} }
} }

View File

@ -4,6 +4,7 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass https://10.0.0.1:10443; proxy_pass https://10.0.0.1:10443;
proxy_redirect default;
} }
} }

View File

@ -3,6 +3,7 @@ server {
server_name pve.tronnet.net; server_name pve.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
location / { location / {
proxy_pass https://geigatron-0-pve.tn:8006; proxy_pass https://geigatron-0-pve.tn:8006;
proxy_redirect default;
} }
} }

View File

@ -4,6 +4,7 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://root.root:80; proxy_pass http://root.root:80;
proxy_redirect default;
} }
} }

View File

@ -4,6 +4,7 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://sites.dmz:8080; proxy_pass http://sites.dmz:8080;
proxy_redirect default;
} }
} }

View File

@ -4,6 +4,7 @@ server {
include /etc/nginx/snippets/ssl-acme.conf; include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf; include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://sites.dmz:8081; proxy_pass http://sites.dmz:8081;
proxy_redirect default;
} }
} }