Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

use custom cert/key #19

Open
aditya0711 opened this issue May 14, 2018 · 0 comments
Open

use custom cert/key #19

aditya0711 opened this issue May 14, 2018 · 0 comments

Comments

@aditya0711
Copy link

docker run -p 8888:8888 -p 8001:8080 -p 8000:8443 -d apilayer/freegeoip -internal-server=:8888 -http=:8080 -https=:8443 -hsts=max-age=31536000 -cert=/home///filename_full.crt -key=/home///key.key

2018/05/14 05:07:41 freegeoip internal server starting on :8888
2018/05/14 05:07:41 database info: starting update
2018/05/14 05:07:41 freegeoip http server starting on :8080
2018/05/14 05:07:41 freegeoip https server starting on :8443
2018/05/14 05:07:41 listener: cert/key failed: open /home///filename_full.crt: no such file or directory

How do I pass the cert/key to the docker container, do I need to mount the /home/**/** to the container.

AND

How to configure nginx to run a proxy_pass to the container?

The repo is great, too bad its going to be deprecated soon.
Hoping for a quick response.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant