Sign inSign up

peopleperhour/httpsonly

By peopleperhour

•Updated almost 10 years ago

Redirect http requests to https.

Image
0

2.0K

peopleperhour/httpsonly repository overview

The Dockerfile:

FROM nginx
RUN echo "server {\nlisten 80;\nreturn 301 https://\$host\$request_uri;\n}" > /etc/nginx/conf.d/default.conf

To run it: docker run -d -p 80:80 peopleperhour/httpsonly

Tag summary

Content type

Image

Digest

sha256:b4744225d…

Size

16.4 MB

Last updated

almost 10 years ago

docker pull peopleperhour/httpsonly