setup homarr with nginx
hi everyone newbie here on deploying homarr....
i deployed homarr with docker compose as told on the guide but i want to use homarr with nginx can someone guide me how to do it ?
thanks in advance
73 Replies
Hello,
@amirulandalib .
First off, we need some context what you want to do.
We can't help you if we don't know your goal.
Can you explain it to us? (example: I want to expose Homarr to XYZ using XYZ)
sure
i want to expose homarr to the domain radarr.amirulandalib.eu.org
by default i am running homarr on docker on port 4426
now it is 0.0.0.0:4426
In this case, you only need a simple proxy host with certificate then
Setup with Homarr will be no different compared to your other services
huh?
i want to configure nginx with homarr and other apps which will be redirected with homarr and ask for authentication
eg:
homarr.amirulandalib.eu.org/qbittorrent/
homarr.amirulandalib.eu.org/plex
homarr.amirulandalib.eu.org/radarr
etc
i can manage certificate
but how to configure with nginx if you kindly guide me
nginx currently running on port 80
But you didn't tell me that before ๐
If you want authentication, you can either use the password environment variable of Homarr or use an authentication proxy like Authelia
So you want me to tell you, how you need to configure your proxy, so you can host your Homarr unrelated apps?
no no
how to configure like this
.
the homepage is homarr.amirulandalib.eu.org
other apps from the dashboard when tapped on eg qbittorrent will go to homarr.amirulandalib.eu.org/qbittorrent
Ok. So when
homarr.amirulandalib.eu.org
is already going to Homarr, then you need to overwrite your desired routes.
Example:
So homarr.amirulandalib.eu.org/qbittorrent
will trigger the location selector and homarr.amirulandalib.eu.org/plex
will trigger the second selectorbut how to put homarr to the config
i just told you my plan but dont know how to put it to conf
If
homarr.amirulandalib.eu.org
should go to Homarr, then your location is /
Example:
i have to port local server ip and port
for redirection
i can share you ssh conn
No. Never do that
need help dude
i suffered a lot from swizzin
You seem to lack general knowledge about reverse proxies.
I'd recommend you to read a guide for initial configuration.
I think you're asking for
proxy_pass
, but I'm not sure.
Also note, that authentication will make your setup more complex and requires some additional knowledge
You can use proxy_pass like this: proxy_pass 192.168.5.XXX
http://150.136.251.212:8081/ (currently it is like this)
Then you need
proxy_pass http://150.136.251.212:8081/