Commit c9cee403 authored by 前端-许佳敏's avatar 前端-许佳敏

Merge branch 'v2-jinfa-srm' of…

Merge branch 'v2-jinfa-srm' of ssh://gitlab.shushangyun.com:8122/project/jinfa-platform into v2-jinfa-srm
parents 27b31ba5 ef5bd70f
FROM ssyma/nginx:logrotate
RUN rm -f /etc/nginx/conf.d/default.conf
COPY --chown=nginx:nginx ./nginx.conf /etc/nginx/conf.d/nginx.conf
COPY --chown=nginx:nginx ./dist /data/web/platform/dist/
VOLUME var/log/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
server {
listen 80;
server_name _;
access_log /var/log/web_access.log;
error_log /var/log/web_error.log;
root /data/web/platform/dist;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}
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