Open utterances-bot opened 3 months ago
请教一下,nginx代理后如何能继续使用ip地址访问,而不是通过域名
如果是内网,你可以直接通过私有地址加端口访问。外网没办法,你可以做端口映射,访问方法就通内网一样了
zhangcheng1164 @.***>于2024年7月17日 周三17:03写道:
请教一下,nginx代理后如何能继续使用ip地址访问,而不是通过域名
— Reply to this email directly, view it on GitHub https://github.com/mtdcy/xy1413.comments/issues/3#issuecomment-2232804890, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HOMHH2P66ZJJE5N4DOU3ZMYXOJAVCNFSM6AAAAABLAFZUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHAYDIOBZGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
nginx代理的情况下没办法通过ip访问吗?现在有个需求,必须用nginx代理,还必须用ip?
虚拟主机就是通过域名判断上游服务的,ip最多访问到默认服务!而且通过ip访问也是应该被禁止的。
zhangcheng1164 @.***>于2024年7月17日 周三17:30写道:
nginx代理的情况下没办法通过ip访问吗?现在有个需求,必须用nginx代理,还必须用ip?
— Reply to this email directly, view it on GitHub https://github.com/mtdcy/xy1413.comments/issues/3#issuecomment-2232859875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HOMB5JX6DPD5CDEXY273ZMY2SNAVCNFSM6AAAAABLAFZUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHA2TSOBXGU . You are receiving this because you commented.Message ID: <mtdcy/xy1413. @.***>
只有一个办法,换端口!
zhangcheng1164 @.***>于2024年7月17日 周三17:30写道:
nginx代理的情况下没办法通过ip访问吗?现在有个需求,必须用nginx代理,还必须用ip?
— Reply to this email directly, view it on GitHub https://github.com/mtdcy/xy1413.comments/issues/3#issuecomment-2232859875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HOMB5JX6DPD5CDEXY273ZMY2SNAVCNFSM6AAAAABLAFZUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHA2TSOBXGU . You are receiving this because you commented.Message ID: <mtdcy/xy1413. @.***>
好物推荐 - cockpit
一款基于 web 的服务器管理工具
https://www.xy1413.com/p/goodthings_cockpit/