* Proxy changes now use a real tld of .net

This is to make browser behave better as they would always try to
avoid the domain lookup
This commit is contained in:
2022-04-30 21:57:00 -07:00
parent 02a47b8418
commit f4b24be904
9 changed files with 41 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
# This config is purely for the default landing page that nginx normally serves
# up. The intention is to make Nginx's default page useful
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
}

View File

@@ -1,5 +1,5 @@
server {
server_name files.lablad;
server_name files.lablad.net;
location / {
proxy_pass http://127.0.0.1:8080;
}

View File

@@ -3,7 +3,7 @@
# The default port is listed under /vars/main.yml as 3000 as GITEA_PUB_PORT
server {
server_name git.lablad;
server_name git.lablad.net;
location / {
proxy_pass http://127.0.0.1:3000;
}

View File

@@ -0,0 +1,8 @@
server {
root /var/www/html;
index index.html;
server_name lablad.net;
location / {
try_files $uri $uri/ =404;
}
}

View File

@@ -1,7 +1,7 @@
# metrics.lablad
server {
server_name metrics.lablad;
server_name metrics.lablad.net;
proxy_set_header Host $http_host;
location / {
proxy_pass http://127.0.0.1:6000;

View File

@@ -1,5 +1,5 @@
server {
server_name music.lablad;
server_name music.lablad.net;
location / {
proxy_pass http://127.0.0.1:4040;
}

View File

@@ -0,0 +1,8 @@
server {
server_name todo.lablad.net;
location / {
proxy_pass http://127.0.0.1:9238;
}
}