소스 검색

Merge remote-tracking branch 'origin/develop' into develop

John-Hong 2 년 전
부모
커밋
d23d9ffc89
3개의 변경된 파일265개의 추가작업 그리고 236개의 파일을 삭제
  1. 8 0
      Dockerfile
  2. 20 0
      nginx_parking.conf
  3. 237 236
      yarn.lock

+ 8 - 0
Dockerfile

@@ -0,0 +1,8 @@
+FROM kerrysmart-registry-vpc.cn-shanghai.cr.aliyuncs.com/base/nginx:parking
+COPY prod-index.html /prod-index.html
+COPY dist/* /usr/share/nginx/html/
+COPY nginx_parking.conf /etc/nginx/conf.d/
+RUN rm -rf /usr/share/nginx/html/static && \
+    rm -rf /usr/share/nginx/html/manual && \
+    rm -rf /etc/nginx/conf.d/default.conf
+ 

+ 20 - 0
nginx_parking.conf

@@ -0,0 +1,20 @@
+server {
+    listen       80;
+    server_name  _;
+
+    location / {
+        root   /usr/share/nginx/html;
+        index  index.html index.htm;
+	try_files $uri $uri/ router;
+    }
+    location router {
+        rewrite ^.*$ /index.html last;
+    }
+
+
+    error_page   500 502 503 504  /50x.html;
+    location = /50x.html {
+        root   /usr/share/nginx/html;
+    }
+
+}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 237 - 236
yarn.lock


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.