Commit 50c2c9d2 authored by Ryan Herbert's avatar Ryan Herbert

docker nginx_conf add http redirect to https

parent 967e1ef0
......@@ -2,6 +2,15 @@ upstream uwsgi {
server uwsgi:8000;
}
server {
listen 80;
server_name $hostname;
location / {
return 301 https://$host/browser;
}
}
server {
listen 443 default_server ssl;
server_name $hostname;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment