May 12, 201511 yr I'm fairly new to using Apache as a reverse proxy but I'm learning as I go. I've got a few different webapps I run on my home network all behind an Apache RP with an SSL cert. I've got unRaid punching through a random port at the moment, but I'd like to move it behind the reverse proxy as I don't really like the idea of logging in and having it go over plain-text. I'm having issues figuring out the correct way to implement this. Any pointers in the right direction from people who've done this would be great. A straightup configuration file I can use and build off of would be awesome as well. And yes, I've used google. The solutions I've found are half-baked at best and I don't know enough to get any farther with them.
May 14, 201511 yr This might help http://lime-technology.com/forum/index.php?topic=38875.msg361733#msg361733
May 14, 201511 yr This might help http://lime-technology.com/forum/index.php?topic=38875.msg361733#msg361733 Wow, forgot about that thread! That's me! OP let me know if you run into any probs and I'll see what I can do to help.
May 14, 201511 yr Actually, I have a question. I allready have a domain. Lets say example.com and it has a website and a mailserver attached to it. These are all hosted and running fine so I don't want to paly with them. Could I make this work as subdomains? home.example.com/plex or even plex.example.com or plex.home.example.com? thanks
May 14, 201511 yr Actually, I have a question. I allready have a domain. Lets say example.com and it has a website and a mailserver attached to it. These are all hosted and running fine so I don't want to paly with them. Could I make this work as subdomains? home.example.com/plex or even plex.example.com or plex.home.example.com? thanks No idea, I started to play around with subdomains but couldn't get ddclient to update the IP on my domain so gave up. All of my stuff is hosted as example.com/app
May 14, 201511 yr I'm fairly new to using Apache as a reverse proxy but I'm learning as I go. I've got a few different webapps I run on my home network all behind an Apache RP with an SSL cert. I've got unRaid punching through a random port at the moment, but I'd like to move it behind the reverse proxy as I don't really like the idea of logging in and having it go over plain-text. I'm having issues figuring out the correct way to implement this. Any pointers in the right direction from people who've done this would be great. A straightup configuration file I can use and build off of would be awesome as well. And yes, I've used google. The solutions I've found are half-baked at best and I don't know enough to get any farther with them. If your talking about putting the unRAID webgui behind a reverse proxy you can change unRAID's port like this in your go file if you want. # Start the Management Utility /usr/local/sbin/emhttp -p 8088 & And add something like this to your apache conf changing port and address to your needs. You can also add this to a proxiedhosts.conf then add an include line to your apache conf. This is for the latest unRAID 6 webgui structure. You just have to account for all the web directory locations. <Location /unraid> ProxyPass http://192.168.1.1:8088/Main ProxyPassReverse http://192.168.1.1:8088/Main </Location> <Location /Dashboard> ProxyPass http://192.168.1.1:8088/Dashboard ProxyPassReverse http://192.168.1.1:8088/Dashboard </Location> <Location /Main> ProxyPass http://192.168.1.1:8088/Main ProxyPassReverse http://192.168.1.1:8088/Main </Location> <Location /Shares> ProxyPass http://192.168.1.1:8088/Shares ProxyPassReverse http://192.168.1.1:8088/Shares </Location> <Location /Users> ProxyPass http://192.168.1.1:8088/Users ProxyPassReverse http://192.168.1.1:8088/Users </Location> <Location /Settings> ProxyPass http://192.168.1.1:8088/Settings ProxyPassReverse http://192.168.1.1:8088/Settings </Location> <Location /Plugins> ProxyPass http://192.168.1.1:8088/Plugins ProxyPassReverse http://192.168.1.1:8088/Plugins </Location> <Location /Docker> ProxyPass http://192.168.1.1:8088/Docker ProxyPassReverse http://192.168.1.1:8088/Docker </Location> <Location /VMs> ProxyPass http://192.168.1.1:8088/VMs ProxyPassReverse http://192.168.1.1:8088/VMs </Location> <Location /Stats> ProxyPass http://192.168.1.1:8088/Stats ProxyPassReverse http://192.168.1.1:8088/Stats </Location> <Location /Tools> ProxyPass http://192.168.1.1:8088/Tools ProxyPassReverse http://192.168.1.1:8088/Tools </Location> <Location /plugins> ProxyPass http://192.168.1.1:8088/plugins ProxyPassReverse http://192.168.1.1:8088/plugins </Location>
May 14, 201511 yr I'm fairly new to using Apache as a reverse proxy but I'm learning as I go. I've got a few different webapps I run on my home network all behind an Apache RP with an SSL cert. I've got unRaid punching through a random port at the moment, but I'd like to move it behind the reverse proxy as I don't really like the idea of logging in and having it go over plain-text. I'm having issues figuring out the correct way to implement this. Any pointers in the right direction from people who've done this would be great. A straightup configuration file I can use and build off of would be awesome as well. And yes, I've used google. The solutions I've found are half-baked at best and I don't know enough to get any farther with them. If your talking about putting the unRAID webgui behind a reverse proxy you can change unRAID's port like this in your go file if you want. # Start the Management Utility /usr/local/sbin/emhttp -p 8088 & And add something like this to your apache conf changing port and address to your needs. You can also add this to a proxiedhosts.conf then add an include line to your apache conf. This is for the latest unRAID 6 webgui structure. You just have to account for all the web directory locations. <Location /unraid> ProxyPass http://192.168.1.1:8088/Main ProxyPassReverse http://192.168.1.1:8088/Main </Location> <Location /Dashboard> ProxyPass http://192.168.1.1:8088/Dashboard ProxyPassReverse http://192.168.1.1:8088/Dashboard </Location> <Location /Main> ProxyPass http://192.168.1.1:8088/Main ProxyPassReverse http://192.168.1.1:8088/Main </Location> <Location /Shares> ProxyPass http://192.168.1.1:8088/Shares ProxyPassReverse http://192.168.1.1:8088/Shares </Location> <Location /Users> ProxyPass http://192.168.1.1:8088/Users ProxyPassReverse http://192.168.1.1:8088/Users </Location> <Location /Settings> ProxyPass http://192.168.1.1:8088/Settings ProxyPassReverse http://192.168.1.1:8088/Settings </Location> <Location /Plugins> ProxyPass http://192.168.1.1:8088/Plugins ProxyPassReverse http://192.168.1.1:8088/Plugins </Location> <Location /Docker> ProxyPass http://192.168.1.1:8088/Docker ProxyPassReverse http://192.168.1.1:8088/Docker </Location> <Location /VMs> ProxyPass http://192.168.1.1:8088/VMs ProxyPassReverse http://192.168.1.1:8088/VMs </Location> <Location /Stats> ProxyPass http://192.168.1.1:8088/Stats ProxyPassReverse http://192.168.1.1:8088/Stats </Location> <Location /Tools> ProxyPass http://192.168.1.1:8088/Tools ProxyPassReverse http://192.168.1.1:8088/Tools </Location> <Location /plugins> ProxyPass http://192.168.1.1:8088/plugins ProxyPassReverse http://192.168.1.1:8088/plugins </Location> Not sure that's the best idea in the world though to have your Unraid array webfacing. Especially without SSL and authentication.
May 14, 201511 yr I'm fairly new to using Apache as a reverse proxy but I'm learning as I go. I've got a few different webapps I run on my home network all behind an Apache RP with an SSL cert. I've got unRaid punching through a random port at the moment, but I'd like to move it behind the reverse proxy as I don't really like the idea of logging in and having it go over plain-text. I'm having issues figuring out the correct way to implement this. Any pointers in the right direction from people who've done this would be great. A straightup configuration file I can use and build off of would be awesome as well. And yes, I've used google. The solutions I've found are half-baked at best and I don't know enough to get any farther with them. If your talking about putting the unRAID webgui behind a reverse proxy you can change unRAID's port like this in your go file if you want. # Start the Management Utility /usr/local/sbin/emhttp -p 8088 & And add something like this to your apache conf changing port and address to your needs. You can also add this to a proxiedhosts.conf then add an include line to your apache conf. This is for the latest unRAID 6 webgui structure. You just have to account for all the web directory locations. <Location /unraid> ProxyPass http://192.168.1.1:8088/Main ProxyPassReverse http://192.168.1.1:8088/Main </Location> <Location /Dashboard> ProxyPass http://192.168.1.1:8088/Dashboard ProxyPassReverse http://192.168.1.1:8088/Dashboard </Location> <Location /Main> ProxyPass http://192.168.1.1:8088/Main ProxyPassReverse http://192.168.1.1:8088/Main </Location> <Location /Shares> ProxyPass http://192.168.1.1:8088/Shares ProxyPassReverse http://192.168.1.1:8088/Shares </Location> <Location /Users> ProxyPass http://192.168.1.1:8088/Users ProxyPassReverse http://192.168.1.1:8088/Users </Location> <Location /Settings> ProxyPass http://192.168.1.1:8088/Settings ProxyPassReverse http://192.168.1.1:8088/Settings </Location> <Location /Plugins> ProxyPass http://192.168.1.1:8088/Plugins ProxyPassReverse http://192.168.1.1:8088/Plugins </Location> <Location /Docker> ProxyPass http://192.168.1.1:8088/Docker ProxyPassReverse http://192.168.1.1:8088/Docker </Location> <Location /VMs> ProxyPass http://192.168.1.1:8088/VMs ProxyPassReverse http://192.168.1.1:8088/VMs </Location> <Location /Stats> ProxyPass http://192.168.1.1:8088/Stats ProxyPassReverse http://192.168.1.1:8088/Stats </Location> <Location /Tools> ProxyPass http://192.168.1.1:8088/Tools ProxyPassReverse http://192.168.1.1:8088/Tools </Location> <Location /plugins> ProxyPass http://192.168.1.1:8088/plugins ProxyPassReverse http://192.168.1.1:8088/plugins </Location> Not sure that's the best idea in the world though to have your Unraid array webfacing. Especially without SSL and authentication. I agree. It's more of example of what you'd want to pass through. It's just similar to what I had used for local network.
Archived
This topic is now archived and is closed to further replies.