Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
redirect from http, edit env address
  • Loading branch information
mvogl committed Jan 3, 2018
1 parent 993f207 commit 1f93c50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -36,7 +36,7 @@ deploy:
- ssh -t cloud@$DEPLOYHOST "export ADMIN_PWD=$DJANGO_ADMIN_PWD && cd django/eoa-django-test && git fetch --all && git reset --hard origin/master && sh scripts/start_deploy.sh "
environment:
name: production
url: http://141.5.105.187:8000/publications/studies/312/index.html
url: https://c105-187.cloud.gwdg.de/publications/studies/312/index.html
only:
- master
when: manual
7 changes: 7 additions & 0 deletions config/nginx/mydjango.conf
Expand Up @@ -3,6 +3,13 @@ upstream web {
server web:8000;
}

server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
}


server {

location /static/ {
Expand Down

0 comments on commit 1f93c50

Please sign in to comment.