Skip to content

case2 里关于访问域名后仍然带端口号的问题 #1

@MEZboy

Description

@MEZboy

第一种是:
proxy_set_header Host $host;

第二种是:
proxy_set_header Host $host:$server_port;

在访问https域名的时候,个别域名都会在结尾带上端口号

image

image

不知道有没有好的解决方案

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions