Skip to the content
Documentation

Web Server

No ratings yet

Configuration files

You can find configuration files in the doc/ directory of the software, for the following web server engines:

and also configuration files for

Generate vhost config script

In addition to that, you have a Bash script for generating a virtual host configuration based on template, containing variables among the once define below.
For help text, execute: ./bin/vhost.sh -h

Help

 

 

Usage

Default values will be fetched from the environment variables $env_list, but might be overridden using the arguments listed below.

Arguments

Option Description
--basedir=<path> Root path to where the eZ installation is placed, used for <path>/web
--template-file=<file.template> The file to use as template for the generated output file
--host-name=localhost Primary host name, default "localhost"
--host-alias=*.localhost Space separated list of host aliases, default "*.localhost"
--ip=*|127.0.0.1 IP address web server should accept traffic on.
--port=80] Port number web server should listen to
--sf-env=prod|dev|.. Symfony environment used for the virtual host, default is "prod"
--sf-debug=0|1 Set if Symfony debug should be on, by default on if env is "dev"
--sf-trusted-proxies=127.0.0.1,.... Comma separated trusted proxies (e.g. Varnish), that we can get client IP from
--sf-http-cache=0|1

To disable Symfony HTTP cache Proxy for using a different reverse proxy

By default disabled when env is "dev", enabled otherwise.

--sf-http-cache-class=<class-file.php> To specify a different class than the default one, to use as the Symfony proxy
--sf-classloader-file=<class-file.php> To specify a different class than the default one, to use for PHP auto loading
--body-size-limit=<int> Limit in megabytes for max size of request body, 0 value disables limit
--request-timeout=<int> Limit in seconds before timeout of request, 0 value disables timeout limit

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.