diff --git a/stacks/npm/data/nginx/proxy_host/1.conf b/stacks/npm/data/nginx/proxy_host/1.conf new file mode 100644 index 0000000..54076da --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/1.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# docker.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "?localip?"; + set $port 5001; + + listen 80; +listen [::]:80; + + + server_name docker.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-1_access.log proxy; + error_log /data/logs/proxy-host-1_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/10.conf b/stacks/npm/data/nginx/proxy_host/10.conf new file mode 100644 index 0000000..2bf561b --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/10.conf @@ -0,0 +1,59 @@ +# ------------------------------------------------------------ +# proxy.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "?localip?"; + set $port 81; + + listen 80; +listen [::]:80; + + + server_name proxy.?domain?; +http2 off; + + + + + + + + + + + + + access_log /data/logs/proxy-host-10_access.log proxy; + error_log /data/logs/proxy-host-10_error.log warn; + + + + + + + + location / { + + + + + + + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/11.conf b/stacks/npm/data/nginx/proxy_host/11.conf new file mode 100644 index 0000000..61e4f66 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/11.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# office.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "documentserver"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name office.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-11_access.log proxy; + error_log /data/logs/proxy-host-11_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/12.conf b/stacks/npm/data/nginx/proxy_host/12.conf new file mode 100644 index 0000000..b7d6444 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/12.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# cloud.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "owncloud_server"; + set $port 8080; + + listen 80; +listen [::]:80; + + + server_name cloud.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-12_access.log proxy; + error_log /data/logs/proxy-host-12_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/13.conf b/stacks/npm/data/nginx/proxy_host/13.conf new file mode 100644 index 0000000..86d1c06 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/13.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# www.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "site"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name www.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-13_access.log proxy; + error_log /data/logs/proxy-host-13_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/14.conf b/stacks/npm/data/nginx/proxy_host/14.conf new file mode 100644 index 0000000..eb0a538 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/14.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# vault.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "vaultwarden"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name vault.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-14_access.log proxy; + error_log /data/logs/proxy-host-14_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/15.conf b/stacks/npm/data/nginx/proxy_host/15.conf new file mode 100644 index 0000000..525ca26 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/15.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# vpn.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "wireguard"; + set $port 51821; + + listen 80; +listen [::]:80; + + + server_name vpn.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-15_access.log proxy; + error_log /data/logs/proxy-host-15_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/16.conf b/stacks/npm/data/nginx/proxy_host/16.conf new file mode 100644 index 0000000..6f01dde --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/16.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# mail.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme https; + set $server "?localip?"; + set $port 1443; + + listen 80; +listen [::]:80; + + + server_name mail.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-16_access.log proxy; + error_log /data/logs/proxy-host-16_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/17.conf b/stacks/npm/data/nginx/proxy_host/17.conf new file mode 100644 index 0000000..53f567b --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/17.conf @@ -0,0 +1,59 @@ +# ------------------------------------------------------------ +# dozzle.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "dozzle"; + set $port 8080; + + listen 80; +listen [::]:80; + + + server_name dozzle.?domain?; +http2 off; + + + + + + + + + + + + + access_log /data/logs/proxy-host-17_access.log proxy; + error_log /data/logs/proxy-host-17_error.log warn; + + + + + + + + location / { + + + + + + + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/18.conf b/stacks/npm/data/nginx/proxy_host/18.conf new file mode 100644 index 0000000..2dacb6e --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/18.conf @@ -0,0 +1,59 @@ +# ------------------------------------------------------------ +# dns.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "pihole"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name dns.?domain?; +http2 off; + + + + + + + + + + + + + access_log /data/logs/proxy-host-18_access.log proxy; + error_log /data/logs/proxy-host-18_error.log warn; + + + + + + + + location / { + + + + + + + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/2.conf b/stacks/npm/data/nginx/proxy_host/2.conf new file mode 100644 index 0000000..505a084 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/2.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# docs.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "bookstack"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name docs.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-2_access.log proxy; + error_log /data/logs/proxy-host-2_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/3.conf b/stacks/npm/data/nginx/proxy_host/3.conf new file mode 100644 index 0000000..6226cfa --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/3.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# browser.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "browser"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name browser.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-3_access.log proxy; + error_log /data/logs/proxy-host-3_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/4.conf b/stacks/npm/data/nginx/proxy_host/4.conf new file mode 100644 index 0000000..69ce647 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/4.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# convert.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "convertx"; + set $port 3000; + + listen 80; +listen [::]:80; + + + server_name convert.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-4_access.log proxy; + error_log /data/logs/proxy-host-4_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/5.conf b/stacks/npm/data/nginx/proxy_host/5.conf new file mode 100644 index 0000000..3f6fa09 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/5.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# dash.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "dashboard"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name dash.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-5_access.log proxy; + error_log /data/logs/proxy-host-5_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/6.conf b/stacks/npm/data/nginx/proxy_host/6.conf new file mode 100644 index 0000000..95ff929 --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/6.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# download.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "?localip?"; + set $port 3000; + + listen 80; +listen [::]:80; + + + server_name download.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-6_access.log proxy; + error_log /data/logs/proxy-host-6_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/7.conf b/stacks/npm/data/nginx/proxy_host/7.conf new file mode 100644 index 0000000..1e0a64b --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/7.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# tools.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "it-tools"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name tools.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-7_access.log proxy; + error_log /data/logs/proxy-host-7_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/8.conf b/stacks/npm/data/nginx/proxy_host/8.conf new file mode 100644 index 0000000..b26549e --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/8.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# video.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "jellyfin"; + set $port 8096; + + listen 80; +listen [::]:80; + + + server_name video.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-8_access.log proxy; + error_log /data/logs/proxy-host-8_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/data/nginx/proxy_host/9.conf b/stacks/npm/data/nginx/proxy_host/9.conf new file mode 100644 index 0000000..deaf77c --- /dev/null +++ b/stacks/npm/data/nginx/proxy_host/9.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# status.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "uptime-kuma"; + set $port 3001; + + listen 80; +listen [::]:80; + + + server_name status.?domain?; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-9_access.log proxy; + error_log /data/logs/proxy-host-9_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +}