move proxy routes to o001 from l002
This commit is contained in:
parent
db3af41809
commit
7fd871e3ef
3 changed files with 55 additions and 18 deletions
|
@ -53,14 +53,6 @@
|
||||||
proxyPass = "http://100.64.0.1:3080";
|
proxyPass = "http://100.64.0.1:3080";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"db.joshuabell.xyz" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyWebsockets = true;
|
|
||||||
proxyPass = "http://100.64.0.1:3085";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"gist.joshuabell.xyz" = {
|
"gist.joshuabell.xyz" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
8
hosts/lio/flake.lock
generated
8
hosts/lio/flake.lock
generated
|
@ -1210,11 +1210,11 @@
|
||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745585761,
|
"lastModified": 1746068171,
|
||||||
"narHash": "sha256-xS3068xhndFrZh9GcTTNTmeebGq1A3uVykRRdzJOj3Y=",
|
"narHash": "sha256-QmZ0oKt8AHpkOUnD8i+Zr278J+t7kZLYAWUs8s5QOF0=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "e5523910a0c07c88d026d006f5962434bfa53548",
|
"rev": "46dbdc77583ea181c7ca4836f46888d1f8e2a704",
|
||||||
"revCount": 277,
|
"revCount": 278,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.joshuabell.xyz/ringofstorms/nvim"
|
"url": "https://git.joshuabell.xyz/ringofstorms/nvim"
|
||||||
},
|
},
|
||||||
|
|
|
@ -52,11 +52,21 @@
|
||||||
# Redirect self IP to domain
|
# Redirect self IP to domain
|
||||||
"64.181.210.7" = {
|
"64.181.210.7" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
return = "301 https://o001.joshuabell.xyz";
|
return = "301 https://joshuabell.xyz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"o001.joshuabell.xyz" = {
|
"100.64.0.11" = tailnetConfig;
|
||||||
|
"o001.net.joshuabell.xyz" = tailnetConfig;
|
||||||
|
|
||||||
|
"www.joshuabell.xyz" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
return = "301 https://joshuabell.xyz";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"joshuabell.xyz" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations = {
|
locations = {
|
||||||
|
@ -74,7 +84,6 @@
|
||||||
<html>
|
<html>
|
||||||
<body style="width:100vw;height:100vh;overflow:hidden">
|
<body style="width:100vw;height:100vh;overflow:hidden">
|
||||||
<div style="display: flex;width:100vw;height:100vh;justify-content: center;align-items:center;text-align:center;overflow:hidden">
|
<div style="display: flex;width:100vw;height:100vh;justify-content: center;align-items:center;text-align:center;overflow:hidden">
|
||||||
|
|
||||||
In the void you roam,</br>
|
In the void you roam,</br>
|
||||||
A page that cannot be found-</br>
|
A page that cannot be found-</br>
|
||||||
Turn back, seek anew.
|
Turn back, seek anew.
|
||||||
|
@ -87,13 +96,49 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"100.64.0.11" = tailnetConfig;
|
"www.ellalala.com" = {
|
||||||
"o001.net.joshuabell.xyz" = tailnetConfig;
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
return = "301 https://ellalala.com";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"ellalala.com" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
return = "444";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# PROXY HOSTS
|
||||||
|
"chat.joshuabell.xyz" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyWebsockets = true;
|
||||||
|
proxyPass = "http://100.64.0.1:3080";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"gist.joshuabell.xyz" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://100.64.0.13";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"git.joshuabell.xyz" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://100.64.0.13";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"_" = {
|
"_" = {
|
||||||
default = true;
|
default = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
return = "404"; # 404 for not found or 444 for drop
|
return = "444"; # 404 for not found or 444 for drop
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue