stevearc / pypicloud-docker

Docker image for pypicloud
MIT License
86 stars 34 forks source link

HTTPS using only uwsgi #14

Open josefkorbel opened 6 years ago

josefkorbel commented 6 years ago

Hello, I recently started using this image in docker, however, security is something I have to solve, therefore I have a question regarding HTTPS using only uwsgi's config.ini file if possible.

My PyPi server runs on 8081 and redirect that to 8080 internally, becasue 8080 is already used by other container.

So what I am trying to accomplish is to redirect http://something.myserver.com:8081 to https://something.myserver.com:8081

http://something.myserver.com:8081 works, but https://something.myserver.com:8081 give me time out error.

Is that possible? Im playing around with the config file but no of the clues from stackoverflow seems to work.

Thanks for your response!

JK

EDIT: I forgot to mention that i already have the certificates and keys for SSL generated (letsencrypt)