switch more includes to relative paths

This commit is contained in:
Arthur Lu 2023-12-11 19:05:00 -08:00
parent 45329164ec
commit 3f60e858f5
11 changed files with 25 additions and 25 deletions

View File

@ -1,6 +1,6 @@
server {
listen 443 ssl http2 default_server;
server_name *.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include snippets/ssl-acme.conf;
return 301 https://tronnet.net;
}

View File

@ -1,7 +1,7 @@
server {
listen 443 ssl http2;
server_name git.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include snippets/ssl-acme.conf;
location / {
proxy_pass http://gitea.dmz:3000;
proxy_redirect default;

View File

@ -1,9 +1,9 @@
server {
listen 443 ssl http2;
server_name tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/proxy-errors.conf;
include /etc/nginx/snippets/error-pages.conf;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://sites.dmz:80;
proxy_redirect default;

View File

@ -1,9 +1,9 @@
server {
listen 443 ssl http2;
server_name ldap.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/proxy-errors.conf;
include /etc/nginx/snippets/error-pages.conf;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://ldap.dmz:80;
proxy_redirect default;

View File

@ -1,7 +1,7 @@
server {
listen 443 ssl http2;
server_name mail.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include snippets/ssl-acme.conf;
location / {
proxy_pass http://mail.dmz/;
proxy_redirect default;

View File

@ -1,9 +1,9 @@
server {
listen 443 ssl http2;
server_name opns.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/proxy-errors.conf;
include /etc/nginx/snippets/error-pages.conf;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass https://10.0.0.1:10443;
proxy_redirect default;

View File

@ -1,10 +1,10 @@
server {
listen 443 ssl http2;
server_name paas.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/error-pages.conf;
include snippets/ssl-acme.conf;
include snippets/error-pages.conf;
location /dashboard/ {
include /etc/nginx/snippets/proxy-errors.conf;
include snippets/proxy-errors.conf;
proxy_pass http://proxmoxaas.dmz:8080/;
proxy_redirect default;
}

View File

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

View File

@ -1,9 +1,9 @@
server {
listen 443 ssl http2;
server_name root.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/proxy-errors.conf;
include /etc/nginx/snippets/error-pages.conf;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://root.root:80;
proxy_redirect default;

View File

@ -1,9 +1,9 @@
server {
listen 443 ssl http2;
server_name status.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/proxy-errors.conf;
include /etc/nginx/snippets/error-pages.conf;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://sites.dmz:8080;
proxy_redirect default;

View File

@ -1,9 +1,9 @@
server {
listen 443 ssl http2;
server_name wiki.tronnet.net;
include /etc/nginx/snippets/ssl-acme.conf;
include /etc/nginx/snippets/proxy-errors.conf;
include /etc/nginx/snippets/error-pages.conf;
include snippets/ssl-acme.conf;
include snippets/proxy-errors.conf;
include snippets/error-pages.conf;
location / {
proxy_pass http://sites.dmz:8081;
proxy_redirect default;