FRP (reverse proxy) & Let’s Encrypt Mapping

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
mail2rst
Posts: 135
Joined: Fri Apr 13, 2018 4:53 pm

FRP (reverse proxy) & Let’s Encrypt Mapping

Post by mail2rst »

What is the best way to access multiple webserver securely via HTTPS by using multiple apps with dietpi installation. Assume if I have domain “XXX.abc.com” if I want to access vaultwarden, plex, homeassistant, adguardhome via my domain from outside lan.
I think with dietpi setup if I have everything installed on one machine then only take certificate via Let’s Encrypt Certbot for “XXX.abc.com” & access my apps by” https ://XXX.abc.com:8001" https ://XXX.abc.com:32400" https ://XXX.abc.com:8123" https ://XXX.abc.com:8083"
If these apps installed on two machines then FRP server & FRP client on second machine to make internal communication & Let’s Encrypt certificate for my domain of FRP server machine after that same web url.
Is there any possibility I can make subdomain like ” https ://vaultwarden.XXX.abc.com" https ://plex.XXX.abc.com" https ://homeassistant.XXX.abc.com” https ://adguard.XXX.abc.com" with dietpi existing tools?
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: FRP (reverse proxy) & Let’s Encrypt Mapping

Post by Joulinar »

Hi,

II guess it might be easier to use Nginx as revers proxy. If you like a gui to manage your domains and certificates, you could have a look to Nginx Proxy Manager (NPM). It's quite easy to setup on docker.

Another think you would need to be clear is, if you like to use sub domain or sub path to access your apps
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply