GithubHelp home page GithubHelp logo

Comments (25)

qingmiaos avatar qingmiaos commented on June 29, 2024

image

from showdoc.

star7th avatar star7th commented on June 29, 2024

不对,我把之前的话删掉先。
目前我看不出有什么问题,你检查下那个网址是否能正常访问。

from showdoc.

star7th avatar star7th commented on June 29, 2024

参考二次开发指南 https://www.showdoc.com.cn/help/1385576954326448

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

http://doc.hookc.cn/web/#/ 这个是可以正常访问的

我本地用 这个phpstudy_pro 里面是可以访问的 然后用这个代理的话也不行

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

image

from showdoc.

star7th avatar star7th commented on June 29, 2024

看网络请求,返回nginx 404. 这应该是你的nginx配置问题。建议直连docker镜像的端口看看

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

image
里面就这些东西

from showdoc.

star7th avatar star7th commented on June 29, 2024

访问本地 http://localhost:8080/ ,不需要加路径

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

image
这个是前端跑起来的代码

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

跑起来的

from showdoc.

star7th avatar star7th commented on June 29, 2024

我在我本地试了下,

proxyTable: {
    '/server/': 'http://doc.hookc.cn/'
},

这个时候,能访问前端。而后端网络请求则返回404

from showdoc.

star7th avatar star7th commented on June 29, 2024

感觉是后端配置问题

from showdoc.

star7th avatar star7th commented on June 29, 2024

我建议,你不要通过域名访问,直接访问官方docker镜像的4999端口

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

您给个路径我试下

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

代码拉下来没有进行任何修改

from showdoc.

star7th avatar star7th commented on June 29, 2024

你是如何安装的

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

web_src 文件下
npm i node_modules安装
然后修改proxyTable: {
'/server/': 'http://doc.hookc.cn/'
}, npm run dev

from showdoc.

star7th avatar star7th commented on June 29, 2024

你没理解我的话,我说的是,问题出在后端,即 http://doc.hookc.cn/ 的nginx配置规则可能不对

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

明白了

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

image
这个吗?

from showdoc.

star7th avatar star7th commented on June 29, 2024

我不懂,我没用过这个面板。

from showdoc.

star7th avatar star7th commented on June 29, 2024

好像是宝塔吧。我不用这个,所以关于它的使用问题,我不清楚。

from showdoc.

qingmiaos avatar qingmiaos commented on June 29, 2024

image里面这两个镜像使用哪一个呢?

from showdoc.

star7th avatar star7th commented on June 29, 2024

两个都可以

from showdoc.

star7th avatar star7th commented on June 29, 2024

感觉不是镜像问题。而是转发出来的nginx规则问题。建议你直接用服务器,跑起docker服务,然后直接配置4999端口访问

from showdoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.