Selaa lähdekoodia

(feat): use ssl 443

oscar 1 vuosi sitten
vanhempi
commit
6816e2ca55
2 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0
    1
      docker-compose.yml
  2. 0
    1
      nginx/default.conf

+ 0
- 1
docker-compose.yml Näytä tiedosto

9
     image: nginx:stable-alpine
9
     image: nginx:stable-alpine
10
     container_name: nginx_moderna
10
     container_name: nginx_moderna
11
     ports:
11
     ports:
12
-      - "80:80"
13
       - "443:443"
12
       - "443:443"
14
     volumes:
13
     volumes:
15
       - ./src/fe:/var/www/fe:ro,cached
14
       - ./src/fe:/var/www/fe:ro,cached

+ 0
- 1
nginx/default.conf Näytä tiedosto

1
 server {
1
 server {
2
-    listen 80;
3
     listen 443;
2
     listen 443;
4
 
3
 
5
     ssl_certificate /etc/letsencrypt/archive/event.leecy.org.tw/fullchain1.pem;
4
     ssl_certificate /etc/letsencrypt/archive/event.leecy.org.tw/fullchain1.pem;