magenx / Magento-nginx-config

Default Nginx config for Magento 2
https://www.magenx.com
GNU General Public License v3.0
506 stars 211 forks source link

invalid parameter "if=$writelog" #5

Closed Morgy93 closed 8 years ago

Morgy93 commented 8 years ago

While using default nginx install on Ubuntu 14.04 I'm running into the following error:

invalid parameter "if=$writelog" in /etc/nginx/sites-enabled/magento.conf:13

I assume that the map module is installed, because if you rely on this post http://askubuntu.com/a/556382 it should be included in the standard http modules.

Any clue?

magenx commented 8 years ago

nginx package in Ubuntu 14.04 is outdated, version 1.4.x missing many features and bugfixes. you have to install latest nginx package from official nginx repository http://nginx.org/en/linux_packages.html#mainline

Morgy93 commented 8 years ago

Alright, that's it. Thanks for help!