Selaa lähdekoodia

(feat): nginx

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

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

@@ -9,7 +9,8 @@ services:
9 9
     image: nginx:stable-alpine
10 10
     container_name: nginx_moderna
11 11
     ports:
12
-      - "8077:80"
12
+      - "80:80"
13
+      - "443:443"
13 14
     volumes:
14 15
       - ./src/fe:/var/www/fe:ro,cached
15 16
       - ./src/be:/var/www/html:ro,cached

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

@@ -1,5 +1,6 @@
1 1
 server {
2 2
     listen 80;
3
+    listen 443;
3 4
 
4 5
     location / {
5 6
         index index.html;