Skip to content

Commit

Permalink
Merge pull request #38 from City-of-Turku/feature/add-ssl
Browse files Browse the repository at this point in the history
Feature/add ssl
  • Loading branch information
juuso-j authored Mar 15, 2024
2 parents 418b7b7 + fc00f44 commit 2343a44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions deploy/docker_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ http {

server {
root /mpbackend;
listen 80;
# TODO, add server name, subdomain liikkumisprofiili.turku.fi etc.
server_name localhost
listen 443 ssl;
ssl_certificate /mpbackend/ssl/star_turku_fi.crt;
ssl_certificate_key /mpbackend/ssl/star_turku_fi.key;
server_name liikkumistesti-api.turku.fi;
charset utf-8;
# max upload size
client_max_body_size 75M;
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
dockerfile: ./docker/nginx/Dockerfile
context: .
ports:
- 80:80
- 443:443
depends_on:
- mpbackend
networks:
Expand Down

0 comments on commit 2343a44

Please sign in to comment.