You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server {
listen 80 default_server;
server_name .mydomain.com;
....
}
then when I open https://first.second.mydomain.com/, $_SERVER['SERVER_NAME'] will be mydomain.com, and $_SERVER['HTTP_HOST'] will be first.second.mydomain.com.
The text was updated successfully, but these errors were encountered:
fatindeed
changed the title
I thinks should always use $_SERVER['HTTP_HOST']
I think should always use $_SERVER['HTTP_HOST']
Oct 24, 2018
phpCAS/source/CAS/Client.php
Lines 3588 to 3592 in 6846e00
my nginx conf
then when I open
https://first.second.mydomain.com/
,$_SERVER['SERVER_NAME']
will bemydomain.com
, and$_SERVER['HTTP_HOST']
will befirst.second.mydomain.com
.The text was updated successfully, but these errors were encountered: