Details
-
Bug
-
Resolution: Fixed
-
High
-
1.3.1, 1.4.0-beta1
-
None
Description
Created after EZP-25900.
I execute the command below, specifying the hostname as ezpublish.dev.
bin/vhost.sh --basedir=/data/Web/ezpublish/main --template-file=doc/nginx/vhost.template --host-name=ezpublish.dev --port=80 --sf-env=dev --request-timeout=60
The result is
server {
listen 80;
# Further documentation: http://nginx.org/en/docs/http/server_names.html
server_name *.localhost;
root /data/Web/ezpublish/main/web;
After some digging, I noticed the vhost.sh script is using the -host-alias parameter to fill the server_name line, instead the -host-name parameter.
I think the problem might be a regression introduced by the Prefixed applicable template variables with SYMFONY_ and reorder commit.