NGINX 1.11.11 mainline-version (built statically against OpenSSL-tls1.3-draft-18) added to repository. Links:
Alternatively, feel free to use our CentOS/RHEL repository.
NGINX 1.11.11 mainline-version (built statically against OpenSSL-tls1.3-draft-18) added to repository. Links:
Alternatively, feel free to use our CentOS/RHEL repository.
waiting for release nginx 1.11.13 🙂
Please add Brotli in next release
https://github.com/google/ngx_brotli
Brotli is already included in our builds and is enabled by in default config files for specific list of mime types.
nginx -t
nginx: [emerg] getpwnam(“apache”) failed in /etc/nginx/nginx.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
[root@msk nginx]# nignx -t
-bash: nignx: command not found
[root@msk nginx]# nginx -t
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/conf.d/default.conf:12
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/conf.d/default.conf:15
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Alexandr, please change apache in nginx.conf to any web user you prefer, e.g. nginx.
Regarding duplicate types: I also see this problem, but do not see actual duplicates in the list.
Hi,
I have hit this problem (with duplicate html) before few months.
As I remember nginx by default is including this mime type “text/html”, so you just need to removed it and not declare it explicitly.
regards
ntk
Just found it : http://nginx.org/en/docs/http/ngx_http_gzip_module.html
Enables gzipping of responses for the specified MIME types in addition to “text/html”. The special value “*” matches any MIME type (0.8.29). Responses with the “text/html” type are always compressed.
Thanks Nikolay, we’ll remove text/html from config sample.