Commit c3a23ac0 authored by Andreea Dima's avatar Andreea Dima

Redirect http to https

parent afc2476d
......@@ -29,6 +29,7 @@ VOLUME /etc/system-configuration
RUN mkdir -p /etc/nginx/ssl
COPY id4me /usr/local/lib/id4me
RUN ln -s /etc/system-configuration/nginx/id4me /etc/nginx/sites-enabled/id4me
RUN ln -s /etc/system-configuration/nginx/id4me-http /etc/nginx/sites-enabled/id4me-http
RUN rm /etc/nginx/sites-enabled/default
RUN cd /usr/lib/python2.7/ && \
......
server {
listen 80;
server_name {place-your-server-name-here};
return 301 https://$server_name$request_uri;
}
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