Christian Lempa 2 سال پیش
والد
کامیت
7c049d8aea
2فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 4 4
      docker-compose/nginx/config/default.conf
  2. 2 1
      docker-compose/nginx/docker-compose.yaml

+ 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