提交 358da95a authored 作者: 李炎's avatar 李炎

Nginx

上级 da9d4ee9
......@@ -31,8 +31,14 @@ RUN echo "\
proxy_set_header Host yongxingda; \
proxy_set_header X-Real-IP \$remote_addr; \
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \
charset utf-8; \
} \
location /wx/quotation/download/pdf { \
root /var/www/html/ ; \
add_header Content-Type "application/pdf; charset=utf-8"; \
add_header Cache-Control "no-cache, no-store, max-age=0"; \
add_header Content-Disposition "attachment;filename=$arg_n.pdf"; \
}\
#解决Router(mode: 'history')模式下,刷新路由地址不能找到页面的问题 \
location / { \
root /var/www/html/; \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论