- PHP 7.4 support - Improved Webp images support with Cloudflare (Issue [#95](https://github.com/WordOps/WordOps/issues/95)). Nginx will not serve webp images alternative with Cloudflare IP ranges. - Stack upgrade for adminer - Check acme.sh installation and setup acme.sh if needed before issuing certificate - Add `--ufw` to `wo stack status` - Add Nginx directive `gzip_static on;` to serve precompressed assets with Cache-Enabler or WP-Rocket. (Issue [#207](https://github.com/WordOps/WordOps/issues/207)) - Previous `--php73` & `--php73=off` flags are replaced by `--php72`, `--php73`, `--php74` to switch site's php version - phpMyAdmin updated to v4.9.2 - Adminer updated to v4.7.5 - Replace dot and dashes by underscores in database names (Issue [#206](https://github.com/WordOps/WordOps/issues/206)) - Increased database name length to 32 characters from domain name + 8 random characters - typo error in motd-news script (Issue [#204](https://github.com/WordOps/WordOps/issues/204)) - Install Nginx before ngxblocker - WordOps install/update script text color - Issue with MySQL stack on Raspbian 9/10 - Typo error (PR [#205](https://github.com/WordOps/WordOps/pull/205)) - php version in `wo debug` (PR [#209](https://github.com/WordOps/WordOps/pull/209)) - SSL certificates expiration display with shared wildcard certificates
35 lines
705 B
Plaintext
35 lines
705 B
Plaintext
# NGINX Tweaks - WordOps {{release}}
|
|
directio 4m;
|
|
directio_alignment 512;
|
|
http2_max_field_size 16k;
|
|
http2_max_header_size 32k;
|
|
|
|
large_client_header_buffers 8 64k;
|
|
|
|
postpone_output 1460;
|
|
proxy_buffers 8 32k;
|
|
proxy_buffer_size 64k;
|
|
|
|
sendfile on;
|
|
sendfile_max_chunk 512k;
|
|
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
|
|
keepalive_requests 500;
|
|
keepalive_disable msie6;
|
|
|
|
lingering_time 20s;
|
|
lingering_timeout 5s;
|
|
|
|
open_file_cache max=50000 inactive=60s;
|
|
open_file_cache_errors off;
|
|
open_file_cache_min_uses 2;
|
|
open_file_cache_valid 120s;
|
|
open_log_file_cache max=10000 inactive=30s min_uses=2;
|
|
|
|
ssl_dyn_rec_size_hi 4229;
|
|
ssl_dyn_rec_size_lo 1369;
|
|
ssl_dyn_rec_threshold 40;
|
|
ssl_dyn_rec_timeout 1000;
|