|
@@ -77,6 +77,17 @@ PC端 /opt/nginx/nginx/html/page_docs/
|
|
|
##### 部署
|
|
|
```
|
|
|
# 剑鱼文库 前端配置
|
|
|
+location ^~/page_docs_app {
|
|
|
+ if ($uri ~ \.html$) {
|
|
|
+ add_header Pragma no-cache;
|
|
|
+ add_header Expires 0;
|
|
|
+ add_header Cache-Control no-cache,no-store,must-revalidate;
|
|
|
+ }
|
|
|
+ root /opt/nginx/nginx/html/;
|
|
|
+ index index.html;
|
|
|
+ try_files $uri $uri/ /page_docs_app/index.html;
|
|
|
+}
|
|
|
+
|
|
|
location ^~/page_docs {
|
|
|
if ($uri ~ \.html$) {
|
|
|
add_header Pragma no-cache;
|