So this post aspired me to have a look, which of course obviously I'm looking into a Docker solution (although I still struggle alot with Docker...........................)
So pretty obvious that if I want to try and get nginx to do layer 4 reverse proxy-ing for me, I would try to get this done on a seperate entity running in a Docker container instead of risking to mess up the nginx were DSM is running on.
So why not use an official image: Docker Hub
So of course I'd assume, when I get this running, I need to be able to access all the files inside the container's filesystem without hassle to be able to configure this reverse proxy'ing. I would assume to just put attributes like
I've also tried looking here:
docs.docker.com
It would be nice if you could change the mountpoint of a volume, but there seems to be no way to do that?
Actualy this limitation has its origin in the Synology UI - nginx itself is perfectly capable to act on layer4.
So pretty obvious that if I want to try and get nginx to do layer 4 reverse proxy-ing for me, I would try to get this done on a seperate entity running in a Docker container instead of risking to mess up the nginx were DSM is running on.
So why not use an official image: Docker Hub
So of course I'd assume, when I get this running, I need to be able to access all the files inside the container's filesystem without hassle to be able to configure this reverse proxy'ing. I would assume to just put attributes like
-v /volume1/docker/nginx1/etc:/etc -v /volume1/docker/nginx1/usr:/usr/
inside the docker run
command. But if I do that, then the container fails to run at all as it doesn't want to fill the volume with the content it needs (don't know why other docker container solutions does work this way without problems, the others don't).I've also tried looking here:
docker volume create
It would be nice if you could change the mountpoint of a volume, but there seems to be no way to do that?