mrco
V2EX  ›  问与答

请教这种 nginx 反代应该怎么写呢

  •  
  •   mrco · Jul 12, 2016 · 1904 views
    This topic created in 3618 days ago, the information mentioned may be changed or developed.
    https://centos7-1.lan/ovirt-engine/webadmin/?locale=zh_CN#dashboard-main
    

    上面是 ovirt 内网的访问地址, ovirt 不能用 ip 访问,只能 FQDN 。

    我的路由器只能端口映射,不能装 nginx 。

    我测试机器放在家里的,想通过端口映射的方式访问家里的 ovirt 管理界面,不知道怎么写,麻烦大家了。

    2 replies    2016-07-13 00:00:35 +08:00
    msg7086
        1
    msg7086  
       Jul 12, 2016
    打开 hosts 改一下咯?
    然而 80 应该是不通的,那么就换个端口咯。
    9hills
        2
    9hills  
       Jul 13, 2016
    1. 做端口映射,映射路由器的端口到 ovirt 的 443 端口, 443 通的话直接映射 443 就好了
    2. 本地改 hosts ,把 centos7-1.lan 指到你路由器的公网 ip
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2905 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 15:21 · PVG 23:21 · LAX 08:21 · JFK 11:21
    ♥ Do have faith in what you're doing.