documents docker update

master
yixian 5 years ago
parent 02e4e184dc
commit 0713fa5071

@ -1,6 +1,6 @@
FROM nginx:alpine FROM nginx:1.17
COPY openapi/* /usr/share/nginx/html/ COPY openapi/ /usr/share/nginx/html/openapi
COPY default.conf /etc/nginx/conf.d/ COPY default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80 EXPOSE 80

@ -3,7 +3,7 @@ server {
server_name _ default; server_name _ default;
location / { location / {
root /usr/share/nginx/html/; root /usr/share/nginx/html/openapi/;
index index.html; index index.html;
} }

Loading…
Cancel
Save