Closed Spittal closed 7 years ago
It's definitely possible that something has changed on the dinghy side. I can rebase against that and see if it fixes it, and if it doesn't then we can go from there.
So this does work on Dinghy? (just clarifying so we can direct testing effort)
Yup! it works on Dinghy, if the certificate with the name of the VIRTUAL_HOST
env var is in the ~/.dinghy/certs
directory then the VHOST will automatically redirect to the HTTPS version of the host.
Sorry @Spittal , I haven't forgot about you. Just been super busy.
I had a thought tho, and after looking at the dinghy proxy code, I wonder if you could just add an image
key under nginx_proxy
in your .dory.yml
file that points to the dinghy version. If this works, I can work on a patch for dory so you don't need the workaround. Are you willing to give it a try? If so, in your ~/.dory.yml
add this:
---
dory:
...
nginx_proxy:
...
image: 'codekitchen/dinghy-http-proxy:2.5.3'
....
Huzzah!
Seems to work perfectly using this config
nginx_proxy:
enabled: true
container_name: dory_dinghy_http_proxy
image: 'codekitchen/dinghy-http-proxy:2.5.3'
https_enabled: true
ssl_certs_dir: '/Users/jamie/.dinghy/certs'
Awesome, thank you!
Hello!
I'm having a small problem while using certificates and dory. It seems to fail proxying to the container when I set a certificate directory with
ssl_certs_dir
in the.dory.yml
file.These logs I get when booting up the
dory_dinghy_http_proxy
with a certs directory setI'm wondering if maybe it doesn't use the name matching engine that the
dinghy_http_proxy
does.At any rate I made a very short screencast that shows my problem using dory
http://quick.as/8br7coyej
Let me know if you have any ideas, Thanks.