We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如题。 优先取 SERVER_NAME 可能有什么问题? 比如 nginx 中设置站点为: server_name ~^(?<subdomain>.+).yourname.com$; 那么拼接的 URI 可能是这样的: http://~^(?<subdomain>.+).yourname.com$/abc,这样的 URI 不能被正确路由。
SERVER_NAME
server_name ~^(?<subdomain>.+).yourname.com$;
http://~^(?<subdomain>.+).yourname.com$/abc
更多关于 SERVER_NAME 和 HTTP_HOST 区别: https://stackoverflow.com/questions/2297403/what-is-the-difference-between-http-host-and-server-name-in-php
HTTP_HOST
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如题。
优先取
SERVER_NAME
可能有什么问题?比如 nginx 中设置站点为:
server_name ~^(?<subdomain>.+).yourname.com$;
那么拼接的 URI 可能是这样的:
http://~^(?<subdomain>.+).yourname.com$/abc
,这样的 URI 不能被正确路由。更多关于
SERVER_NAME
和HTTP_HOST
区别:https://stackoverflow.com/questions/2297403/what-is-the-difference-between-http-host-and-server-name-in-php
The text was updated successfully, but these errors were encountered: