我的 pipe.json 配置:
{ "Server": "https://www.hysg.top", "StaticServer": "https://static.hysg.top", "StaticResourceVersion": "1536717883254", "OpenRegister": false, "RuntimeMode": "pro", "LogLevel": "debug", "ShowSQL": false, "SessionSecret": "pipe", "SessionMaxAge": 86400, "SQLite": "", "MySQL": "pipe:4adQ123@(127.0.0.1:3306)/pipe?charset=utf8mb4&parseTime=True&loc=Local", "StaticRoot": "", "Port": "5897", "AxiosBaseURL": "/api", "MockServer": "http://127.0.0.1:8888" }
我的 nginx 配置:
upstream pipe { server 127.0.0.1:5897; } server { listen 443 http2; server_name www.hysg.top; location / { proxy_pass http://pipe$request_uri; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; client_max_body_size 10m; } }
现在问题是一个 js 文件的链接是
http://localhost:5897/console/dist/pages_admin_index.be50d5f98378b5e68985.js
然后 pipe 安装不成功,该怎么排除这个错误?
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于