Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于系统访问的地址配置问题 #33

Open
Echoliuyang opened this issue Apr 13, 2023 · 3 comments
Open

关于系统访问的地址配置问题 #33

Echoliuyang opened this issue Apr 13, 2023 · 3 comments

Comments

@Echoliuyang
Copy link

我的服务器部署在云上,在默认部署后,很多的访问以及swagger中的接口地址都是服务器的内网地址192.168.x.x,前端访问时也会出现跳转到dev.hzero.org:8080的问题,导致系统不能正常使用
由于不是专业开发人员,所以无法很容易的在帮助文档中理解和找到对应的配置修改方法,希望能够给出一个比较详细全面的说明或是简单方法来修复调整这些配置,使系统能够正常访问运行
备注:初期访问地址是IP形式,后期会调整为域名并在主域名中配置SSL证书(Nginx),希望针对这些配置调整场景给个说明或脚本,谢谢!

@Echoliuyang
Copy link
Author

补充:针对Nginx的SSL域名代理,最好给个标准的Nginx配置文件

@neko-11
Copy link
Contributor

neko-11 commented Apr 13, 2023

访问前端会自动跳转登录页面,前端部署有一些环境变量需要配置,具体可以参考文档 https://open.hand-china.com/document-center/doc/product/10067/10239?doc_id=34409&doc_code=6762

@neko-11
Copy link
Contributor

neko-11 commented Apr 13, 2023

swagger服务的配置文件中也需要配置oauth登录认证地址

hzero:
  swagger:
    # swagger 使用的客户端ID
    client: client
    # 网关服务开放地址,配置此地址才能跳转到oauth服务登录认证
    base-url: http://dev.hzero.org:8080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants