Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let's encrypt ssl https feature #23

Open
jujes opened this issue May 30, 2016 · 1 comment
Open

let's encrypt ssl https feature #23

jujes opened this issue May 30, 2016 · 1 comment

Comments

@jujes
Copy link

jujes commented May 30, 2016

Hi, someone know how run it? ERR_SSL_PROTOCOL_ERROR

deploy script

sudo su
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt/
[----> choose standalone]
  /opt/letsencrypt/letsencrypt-auto certonly
[----> certs path]
/etc/letsencrypt/live/[sitemane]
exit
git clone https://github.com/namikingsoft/docker-restyaboard.git restyaboard
cd restyaboard
[----> change 443 instead 1234 ]
nano docker-compose.yml
  ports:
    - 443:80
  volumes:
    - certs:/etc/letsencrypt/live/[sitemane]
docker-compose up -d

output

Successfully built d88cb20591b6
WARNING: Image for service restyaboard was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating restyaboard_data_1
Creating restyaboard_postgres_1
Creating restyaboard_elasticsearch_1
Creating restyaboard_restyaboard_1
user@ubuntu:~/dpl/restyaboard$ docker ps -a
CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS                 NAMES
f0afe7887ec8        restyaboard_restyaboard   "/docker-entrypoint.s"   4 minutes ago       Up 4 minutes        0.0.0.0:443->80/tcp   restyaboard_restyaboard_1
241655e31e66        elasticsearch             "/docker-entrypoint.s"   4 minutes ago       Up 4 minutes        9200/tcp, 9300/tcp    restyaboard_elasticsearch_1
a6abfcf020b6        postgres                  "/docker-entrypoint.s"   4 minutes ago       Up 4 minutes        5432/tcp              restyaboard_postgres_1
c797a2439de4        busybox                   "tail -f /dev/null"      4 minutes ago       Up 4 minutes                              restyaboard_data_1
@leveled
Copy link

leveled commented Aug 5, 2016

I'm not too familiar with either Docker or PHP but I would like to help implement this feature. You would likely to need to edit the restyaboard.conf file to enable SSL, no? The SSL_Protocol_Error is often indicative of the server wanting to talk in http instead.

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

No branches or pull requests

2 participants