Browse Source

(feat): nginx

oscar 2 years ago
parent
commit
01e8c322ee
2 changed files with 3 additions and 1 deletions
  1. 2
    1
      docker-compose.yml
  2. 1
    0
      nginx/default.conf

+ 2
- 1
docker-compose.yml View File

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
-      - "8077:80"
12
+      - "80:80"
13
+      - "443:443"
13
     volumes:
14
     volumes:
14
       - ./src/fe:/var/www/fe:ro,cached
15
       - ./src/fe:/var/www/fe:ro,cached
15
       - ./src/be:/var/www/html:ro,cached
16
       - ./src/be:/var/www/html:ro,cached

+ 1
- 0
nginx/default.conf View File

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