aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/nginx/nginx.inc
AgeCommit message (Collapse)Author
2017-03-31nginx: make sure the user is correctly set for the volatile directoriesPascal Bach
Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31nginx: set sane defaults for temp directoriesPascal Bach
Currently the build directiories en up in /usr/*_temp which is not what most users will expect. This changes the default location to /tmp/nginx/*_tmp. The location can still be overridden in the nginx.conf file. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13nginx: handle systemd service fileAlexandre Belloni
Inherit the systemd class so the service file is properly handled. Note that by default, the service file will be installed but not enabled. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22nginx.inc: use 4 spaces for indentationMartin Jansa
* like any other sane recipes do Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22nginx: optimize systemd unit fileSzombathelyi György
- Call the nginx binary directly, no need to wrap the SysV init file. - Create /var/log/nginx with tmpfiles, like volatiles without systemd. - Run nginx with ${NGINX_USER} (user ${NGINX_USER} in nginx.conf) Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22nginx: PACKAGECONFIG for httpv2Szombathelyi György
Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15nginx: add the LDFLAGS to the link argumentsDerek Straka
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28meta-webserver: use bb.utils.contains() instead of base_contains()Ross Burton
base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25nginx: add stable version 1.8.1 as alternative to the mainline version 1.9.xPascal Bach
The 1.8 branch is the current stable branch of nginx. This means the branch doesn't get new features, but is still supported with bugfixes. Depending on the use case it is more suitable to use on an embedded device than the 1.9 branch which adds new features with every release. Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2016-03-25nginx: split parts out of the recipe into nginx.incPascal Bach
nginx has two maintained branches. - stable: is the long term maintained branch where only bugfixes occur - mainline: is the branch where new features get added This change is in preparation to support these two branches. Signed-off-by: Pascal Bach <pascal.bach@siemens.com>