☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
I would like to be able to support REGEX for LAN redirects.
I maybe be one of the few who still miss the days of just typing in a LAN app name and going to that site, but modern internet and web-browsing has mostly made that hard. I did a modern home solution, although I am not sure if it is even the best method.. but it works for my home. Request for this type of support in Cosmos, but I totally understand if this is a waste of time and is just closed.
Use case: Type in 'appname.fakeEXT' redirects to 'appname.mydomain'
Makes it much easier to type in apps for users with longer domains or someone who is Lazy like me. I will post my NGIX method below for an example.
My setup:
Custom DNS with DNS re-write *.pp to reverse-proxy
Reverse proxy then uses the logic below to redirect to the subdomain (app-name)
So for me, when I type in s.pp I am then re-directed to my Sonarr app.
My setup:
In firefox (or fork of):
Add browser.fixup.domainsuffixwhitelist.CUSTOMTLD (I use pp because it is short) True in about:config
AdGuard for my Private DNS
Set DNS Rewrite *.CUSTOMTLD to reverse-proxy
NGINX Proxy Manager
Use code above or set Redirection host > Domain Names ~^(?<subdomain>.+)\\\\.CUSTOMTLD$ > Scheme auto > Forward Domain $subdomain.vkplex.app$request_uri > HTTP Code whatever ypu want > preserve path off > Block Common Exploits On > Nothing in SSL or Advanced Tabs
All my Webapps have a custom subdomain for easy access. I even have my DNS redirect to my reverse proxy for my custom domain requests as DNS may still forward to forward lookup zone. This makes it so I can use my LAN only webapps work with this method as well as reduce external forward lookups and decrease latency(response time)
I have been switching to Cosmos to make it easier on life since I already manage so much.. but I thought I would just throw this request down. I understand if this is a no-go
Feature Description
Hello,
I would like to be able to support REGEX for LAN redirects.
I maybe be one of the few who still miss the days of just typing in a LAN app name and going to that site, but modern internet and web-browsing has mostly made that hard. I did a modern home solution, although I am not sure if it is even the best method.. but it works for my home. Request for this type of support in Cosmos, but I totally understand if this is a waste of time and is just closed.
Use case: Type in 'appname.fakeEXT' redirects to 'appname.mydomain'
Makes it much easier to type in apps for users with longer domains or someone who is Lazy like me. I will post my NGIX method below for an example.
My setup:
Custom DNS with DNS re-write
*.pp
to reverse-proxy Reverse proxy then uses the logic below to redirect to the subdomain (app-name)So for me, when I type in
s.pp
I am then re-directed to my Sonarr app.My setup: In firefox (or fork of):
browser.fixup.domainsuffixwhitelist.CUSTOMTLD
(I use pp because it is short)True
inabout:config
AdGuard for my Private DNS*.CUSTOMTLD
toreverse-proxy
NGINX Proxy ManagerUse code above or set Redirection host > Domain Names
~^(?<subdomain>.+)\\\\.CUSTOMTLD$
> Schemeauto
> Forward Domain$subdomain.vkplex.app$request_uri
> HTTP Codewhatever ypu want
> preserve pathoff
> Block Common ExploitsOn
> Nothing in SSL or Advanced TabsAll my Webapps have a custom subdomain for easy access. I even have my DNS redirect to my reverse proxy for my custom domain requests as DNS may still forward to forward lookup zone. This makes it so I can use my LAN only webapps work with this method as well as reduce external forward lookups and decrease latency(response time)
I have been switching to Cosmos to make it easier on life since I already manage so much.. but I thought I would just throw this request down. I understand if this is a no-go
Thank you for your time.