Thank you for your reply,

I am trying to replace the self generated certificate inside the container 
with the new letsencrypt one.

I am using this image https://hub.docker.com/r/scinnovation/web2py/

I already generated the certificate now I want to add them to the config so 
that it replaces the self generated one.
I don't know where to add it, whether in apache or somewhere in w2p files.

Any resource about how to do it would be great.

Oasis

On Thursday, February 21, 2019 at 8:06:59 AM UTC+9, Dave S wrote:
>
>
>
> On Wednesday, February 20, 2019 at 4:13:48 AM UTC-8, Oasis Agano wrote:
>>
>>
>> Hello,
>>
>> Is there a quick way to setup lets encrypt  to work with web2py inside a 
>> docker container running apache?
>>
>> I have generated certs inside the apache+web2py container using:
>>
>> sudo certbot --apache certonly -w /home/www-data/web2py/ -d 
>> domainname.com
>>
>>
>> but I don't know where to add it in the container so that it can be 
>> served on the host computer.
>>
>>
>> Any help is welcome.
>>
>>
>> Oasis
>>
>
> I don't understand what you are trying to do.  Why would it be "served on 
> the host computer"?  The Apache inside the container is handling the 
> requests, and the host is merely piping. 
>
> /dps
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to