I am following the instructions in order to secure shinyproxy as per https://shinyproxy.io/security/. Is it possible to run shinyproxy in a container and bind to 127.0.0.1 so that my nginx reverse proxy can forward the request via proxy_pass
to 127.0.0.1:8080
?
So something like sudo docker run -d -p 127.0.0.1:8080:8080 --net sp-example-net -v /var/run/docker.sock:/var/run/docker.sock shinyproxy_base:localhost
where bind-address: 127.0.0.1
in application.yml.
This works if i remove bind-address:127.0.0.1
and change -p 8080:8080
so that shinyproxy is listening on 0.0.0.0
but that is not suggested.
Is the above possible or should I keep the docker container listening on 0.0.0.0?