Giter VIP home page Giter VIP logo

Comments (8)

zuihou avatar zuihou commented on June 7, 2024

nginx 配错了

from lamp-cloud.

zuihou avatar zuihou commented on June 7, 2024

参考:
image

from lamp-cloud.

W9696W avatar W9696W commented on June 7, 2024

from lamp-cloud.

zuihou avatar zuihou commented on June 7, 2024
  1. nginx 代理的是 lamp-gateway的ip和端口
  2. 直接访问 lamp-gateway 的ip+port + 第二个图中的获取验证码的地址 ,确保能正常访问

from lamp-cloud.

zuihou avatar zuihou commented on June 7, 2024

如:
这个地址是通过nginx访问的,

https://datasource.tangyh.top/api/oauth/anyTenant/captcha?key=E4BA9375ECB06368AEB36B901677040090711&_t=1677040092478

这个地址是直接访问lamp-gateway的(这个地址一般内网ip即可,但验证的时候,想法用外网ip,验证成功后,只保留内网ip访问)
https://gatewayip:port/api/oauth/anyTenant/captcha?key=E4BA9375ECB06368AEB36B901677040090711&_t=1677040092478

确保2个地址都能正常访问

from lamp-cloud.

W9696W avatar W9696W commented on June 7, 2024

docker上的gateway容器通过端口映射可以通过服务器访问,但我这两个地址都仍然不能访问。

from lamp-cloud.

zuihou avatar zuihou commented on June 7, 2024

那就是docker 端口没映射出来吧

from lamp-cloud.

W9696W avatar W9696W commented on June 7, 2024

from lamp-cloud.

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.