!hokCjFXtQcxTAIXSdZ:matrix.org

#selfhosted

397 Members
#selfhosted : discussion about self hosted or in house applications and services for private cloud and privacy preservation use cases. inspired by /r/selfhosted community on reddit (no official affiliation). 119 Servers

Load older messages


SenderMessageTime
14 Jul 2020
@hiking:matrix.orghikinglike the web interface of pi-hole and nextcloud22:15:01
@poro7:matrix.orgganoo leenaksonly one service can run on a port at the same time obviously, what you can do is tell nextcloud to use some other arbitrary port, and then that port is only for local use so you dont open the port for access from the outside22:15:47
@poro7:matrix.orgganoo leenakssay nextcloud runs on port 8000, you tell nginx that X URL goes to that port22:16:17
@poro7:matrix.orgganoo leenaksthen you only open 80 and 443 to the outside22:16:24
@poro7:matrix.orgganoo leenakswhen someone accesses that URL using port 80 or 443 nginx redirects that locally to 800022:16:48
@poro7:matrix.orgganoo leenakssorry Im very bad at explaining things22:17:29
@poro7:matrix.orgganoo leenakslol22:17:34
@hiking:matrix.orghikingI'm actually understanding it22:17:41
@hiking:matrix.orghikingthis is assuming both services run in the same machine?22:17:54
@poro7:matrix.orgganoo leenaksyea 22:18:06
@poro7:matrix.orgganoo leenaksyou can also do it with different machines I just dont have experience with that22:18:14
@hiking:matrix.orghikingok copy pasting this to my joplin lmao22:18:16
@wreck:jobmachine.orgwreckthe link i posted has a whole breakdown and examples running it with nginx i believe22:19:55
@hiking:matrix.orghikingRedacted or Malformed Event22:20:19
@hiking:matrix.orghikinghttps://github.com/pi-hole/docker-pi-hole/blob/master/docker-compose-jwilder-proxy.yml this image?22:21:58
@wreck:jobmachine.orgwreckyeah that looks about right22:28:23
@hiking:matrix.orghikingThis means I need now PHP?22:28:52
@wreck:jobmachine.orgwreckwat22:30:20
@hiking:matrix.orghikingI'm trying to look for documentation for nginx22:30:43
@hiking:matrix.orghikinghttps://docs.pi-hole.net/guides/nginx-configuration/22:31:30
@wreck:jobmachine.orgwreck
Here is an example of running with jwilder/proxy (an nginx auto-configuring docker reverse proxy for docker) on my port 80 with Pi-hole on another port. Pi-hole needs to be DEFAULT_HOST env in jwilder/proxy and you need to set the matching VIRTUAL_HOST for the Pi-hole's container. Please read jwilder/proxy readme for more info if you have trouble.
22:31:51
@wreck:jobmachine.orgwreckugh, i keep forgetting riot doesn't wrap those lines22:32:28
@wreck:jobmachine.orgwreck
Here is an example of running with jwilder/proxy (an nginx auto-configuring docker reverse proxy for docker) on my port 80 with Pi-hole on another port. Pi-hole needs to be DEFAULT_HOST env in jwilder/proxy and you need to set the matching VIRTUAL_HOST for the Pi-hole's container. Please read jwilder/proxy readme for more info if you have trouble.
22:32:33
@wreck:jobmachine.orgwreckthat docker-compose file literally does all the work for you if you just plug in the right values22:32:54
@wreck:jobmachine.orgwreckno php required22:32:58
@hiking:matrix.orghikingoh 22:33:06
@hiking:matrix.orghikingso i plug the docker and tada?22:33:24
@hiking:matrix.orghikingthanks god i wasn't born in 199022:33:34
@danastasio:matrix.davidanastasio.comDavidwhy lol22:44:09
@idanoo:riot.kiwiidanooOh22:51:28

There are no newer messages yet.


Back to Room List