Closed
Description
I'm trying to get host name from class which implements FilterInterface...
In before() method I'm using RequestIterface to get hostname:
I've got in $_SERVER array:
SERVER_NAME: www.domain.com
HOST_NAME: adm.domain.com
so I thought host returned by ->getHost() will be adm.domain.com but it is www.domain.com instead...
I'm using php7.1.11 and the newest nginx.
Nginx is configured with multiple names of server_name for the same directory.
Metadata
Metadata
Assignees
Labels
No labels
Activity