Christian Lempa 1 год назад
Родитель
Сommit
7c049d8aea

+ 4 - 4
docker-compose/nginx/config/default.conf

@@ -1,8 +1,8 @@
 server {
   listen 80;
   server_name  _;
-    location / {
-      root /usr/share/nginx/html;
-      index index.html;
-    }
+  location / {
+    root /usr/share/nginx/html;
+    index index.html;
+  }
 }

+ 2 - 1
docker-compose/nginx/docker-compose.yaml

@@ -5,7 +5,8 @@ services:
     container_name: nginx
     ports:
       - 80:80
-      - 443:443
+      # (optional) uncomment the line below to enable HTTPS
+      # - 443:443
     volumes:
       - ./config/default.conf:/etc/nginx/conf.d/default.conf:ro
       - ./data:/usr/share/nginx/html:ro