jade
jade
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
did i do it correctly?
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
@manicraft1001 sorry it took so long, ive had a bunch of stuff come up, but I just committed a pr (i think, never done it before) lmk if i need to update/modify it at all
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
up*
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
ill have to write the examples to
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
ugh
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
shh
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
u didnt see that
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
i will when I get the chance to add in examples
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
or whatever its called idk i dont work with git much lol
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
if yall think it looks good, ill add in the examples and submit the fork
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
alrighty, got a chance to write out a draft real quick, what do yall think?
Reverse Proxy with NGINX - Example for multiple instances of Dash.
Because Dash. uses iframes to display the graphs, you can run into problems when using a reverse proxy to access them. There are two ways you can do this, either by using subdomains for each instance of Dash. or by using subpaths.

You can use a subdomain for each instance of Dash. and simply use instanceone.domain.come, instancetwo.domain.com, instancethree.domain.com, ect. for your instances, and simply point anything sent to that domain to your Dash. instance in NGINX. That would require seperate configuration files and subdomains for each instance. (INSERT EXAMPLE OF THAT HERE)

You can also use subpaths, which only requires one subdomain and configuration file for each, allowing your Dash. and your Homarr instances to all exist on the same subdomain. However, when Homarr attempts to pull the iframes, it will attempt to pull from sub.domain.com/assets, instead of sub.domain.com/instance/assets. So, you simply rewrite the incomming requests and modify the path, and that will connect your Homarr and Dash. instances. (INSERT EXAMPLE OF THAT HERE)
Reverse Proxy with NGINX - Example for multiple instances of Dash.
Because Dash. uses iframes to display the graphs, you can run into problems when using a reverse proxy to access them. There are two ways you can do this, either by using subdomains for each instance of Dash. or by using subpaths.

You can use a subdomain for each instance of Dash. and simply use instanceone.domain.come, instancetwo.domain.com, instancethree.domain.com, ect. for your instances, and simply point anything sent to that domain to your Dash. instance in NGINX. That would require seperate configuration files and subdomains for each instance. (INSERT EXAMPLE OF THAT HERE)

You can also use subpaths, which only requires one subdomain and configuration file for each, allowing your Dash. and your Homarr instances to all exist on the same subdomain. However, when Homarr attempts to pull the iframes, it will attempt to pull from sub.domain.com/assets, instead of sub.domain.com/instance/assets. So, you simply rewrite the incomming requests and modify the path, and that will connect your Homarr and Dash. instances. (INSERT EXAMPLE OF THAT HERE)
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
will do
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
@manicraft1001 is there a way some of this can be added to the docs on the homarr site? i can summarize what ive done here, i cant imagine im the only one who has this setup
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
but thank you again, i know this is a strange case
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
im gonna go ahead and start rolling it to other servers as well, ill let you know if i get any issues!
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
That seems to be working beautifully, thank you so much!
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
okay
327 replies
HHomarr
Created by jade on 7/11/2023 in #💬・get-help
Connecting multiple servers with dashdot/Reverse Proxying with nginx
ah
327 replies