Dear OpenWrt community!
I have been deploying OpenWrt powered networks for home-use and even small companies for about 10 years. At the moment I'm experimenting with a Raspberry Pi 4 Model B - what a powerful device compared to my other TP-Link routers with 8 MB memory and 32/64 MB ram
I'm using the latest nightly build from 2020-11-10.
Here comes the problem:
I installed the following package with all dependencies:
opkg install luci-nginx
With this setup, the nginx webserver doesn't start up, the following message appears in syslog:
[emerg] 1838#0: unknown directive "gzip" in /etc/nginx/nginx.conf:23
Just as hint for people, who probably see the same issue on their devices:
Replace the package nginx (which is missing gzip support although the OpenWrt default config requires it) with the following package:
nginx-all-module
Within an already installed system using opkg you get some troubles with dependencies trying to do so (they are resolveable).
My solution instead was to build my own image for the Raspbery Pi 4, with the working nginx-all-module package built in (and the not working nginx package disabled)
Hope that helps if someone is experiencing the same issues ...