jpbruinsslot / docker-django

A project to get you started with Docker and Django.
MIT License
179 stars 62 forks source link

http redirecting to https #9

Closed tony closed 8 years ago

tony commented 8 years ago

e14ff89 http://localhost:9080/ redirects to https://localhost:9080/

Ubuntu 16.04

~/study/docker/docker-django/services/webserver/config master
❯ docker version
Client:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:43:49 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:43:49 2016
 OS/Arch:      linux/amd64

~/study/docker/docker-django/services/webserver/config master
❯ docker-compose --version
docker-compose version 1.7.1, build 6c29830
jpbruinsslot commented 8 years ago

This is as intended, I'll update the readme to reflect this. Furthermore you can see configuration in nginx that does this: https://github.com/erroneousboat/docker-django/blob/master/services/webserver/config/nginx.tmpl#L23

jpbruinsslot commented 8 years ago

Fixed in: https://github.com/erroneousboat/docker-django/commit/291ac86a5a0e40e69f2c41a19d2ea7237b71c2fa

tony commented 8 years ago
It worked!
Congratulations on your first Django-powered page.

Using the port 9443 works as expected

thank you @erroneousboat