Commit 1538896f authored by tanghao's avatar tanghao

123

parent afc9ffdf
...@@ -8,7 +8,7 @@ RUN mkdir -p /var/www \ ...@@ -8,7 +8,7 @@ RUN mkdir -p /var/www \
ADD ./dist/ /var/www/html/ ADD ./dist/ /var/www/html/
EXPOSE 80 EXPOSE 80
EXPOSE 443 EXPOSE 443
CMD echo "server { \ CMD "echo" "server { \
listen 80; \ listen 80; \
client_max_body_size 50M; \ client_max_body_size 50M; \
location /api/ { \ location /api/ { \
...@@ -28,4 +28,4 @@ CMD echo "server { \ ...@@ -28,4 +28,4 @@ CMD echo "server { \
} \ } \
} \ } \
access_log /var/log/nginx/access.log ; \ access_log /var/log/nginx/access.log ; \
} " > /etc/nginx/conf.d/default.conf } > /etc/nginx/conf.d/default.conf"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment