add error pages to all sites

This commit is contained in:
Arthur Lu 2023-04-26 12:48:34 -07:00
parent 2d250a4a00
commit 023c49ce88
10 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name client.tronnet.net; server_name client.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://proxmoxaas.dmz:8080; proxy_pass http://proxmoxaas.dmz:8080;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name tronnet.net; server_name tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://sites.dmz:80; proxy_pass http://sites.dmz:80;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name ldap.tronnet.net; server_name ldap.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://ldap.dmz:80; proxy_pass http://ldap.dmz:80;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;

View File

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

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name nextcloud.tronnet.net; server_name nextcloud.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://nextcloud2.dmz:11000; proxy_pass http://nextcloud2.dmz:11000;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name opns.tronnet.net; server_name opns.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.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;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;

View File

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

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name root.tronnet.net; server_name root.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://root.root:80; proxy_pass http://root.root:80;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name status.tronnet.net; server_name status.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://sites.dmz:8080; proxy_pass http://sites.dmz:8080;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;

View File

@ -2,6 +2,7 @@ server {
listen 443 ssl http2; listen 443 ssl http2;
server_name wiki.tronnet.net; server_name wiki.tronnet.net;
include /etc/nginx/snippets/ssl-params.conf; include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/error-pages.conf;
location / { location / {
proxy_pass http://sites.dmz:8081; proxy_pass http://sites.dmz:8081;
include /etc/nginx/snippets/proxy-params.conf; include /etc/nginx/snippets/proxy-params.conf;