DietPi-Software | Reverse proxy integration for web applications #5027
Replies: 6 comments 11 replies
-
Basically this could be done with other web server as well. We might think on a documentation page on our online docs on how to setup a reverse proxy, rather than creating this as software option. |
Beta Was this translation helpful? Give feedback.
-
Generally I think it would be nice indeed to have some GUI wise reverse proxy setup. But I'm not sure whether this makes sense within What could be done is detecting installed web servers, load balancers (HAProxy) and other proxies, or allowing to install one if not available yet. Then detecting web applications with internal web server, respectively TCP or UNIX socket listener. Then allow to enable/disable a reverse proxy on a choosable URL path (does does not exist on the actual filesystem yet) for each web application. This would safe users quite same hassle I guess, especially when otherwise guides are followed to install dedicated proxy servers, even with a whole Docker daemon and container around, while a webserver is present already (also conflicting on the port) or lightweight and fast HAProxy is the much better alternative on a low RAM SBC. |
Beta Was this translation helpful? Give feedback.
-
this could be quite complex. Each software require a different proxy configuration, probably. We might need to keep templates for each software title individually. And this for all available proxy software/ web server. |
Beta Was this translation helpful? Give feedback.
-
I would like to point you Guys to traefik -> https://github.com/traefik/traefik It looks like a load-balancer and reverse proxy with autodetection :-) |
Beta Was this translation helpful? Give feedback.
-
https://nginxproxymanager.com/ is my go-to for this - also worth a look! |
Beta Was this translation helpful? Give feedback.
-
Traefik does look pretty cool ! I been using Caddy for a few years and never had any problem with it on DietPi. But Traefik looks awesome too 👍 |
Beta Was this translation helpful? Give feedback.
-
Hey there,
I am using many Services on my Raspberry and have already a Zoo of different Ports that I need to use for a particular service.
To get rid of it, I did following:
/etc/hosts
file (using dietpi as local DNS-Resolver)Now I can easily access:
without struggeling with Ports. And I have secured my Installation. What do you think to make this Standard for Dietpi?
Example Config for nginx:
Beta Was this translation helpful? Give feedback.
All reactions