diff --git a/docs/nginx/nginx-local-file-storage-80.conf b/docs/nginx/nginx-local-file-storage-80.conf index 9cd0e8973d6eb3bb3f0d79b2b9c59e356c0c72b6..5a5a6b50eddd6386ea1cce5a84a79c73d924a606 100644 --- a/docs/nginx/nginx-local-file-storage-80.conf +++ b/docs/nginx/nginx-local-file-storage-80.conf @@ -1,11 +1,11 @@ server { listen 80; server_name 改成自己的域名; - root 改成自己的文件目录;; - + root 改成自己的文件目录; + location ^~ / { try_files $uri $uri/ /index.html; - proxy_set_header Cookie $http_cookie; + proxy_set_header Cookie $http_cookie; proxy_set_header Host $host:$server_port; } }