Skip to content

Instantly share code, notes, and snippets.

Avatar

Heiko Mamerow HeikoMamerow

View GitHub Profile
View Set environment type.
/**
* Set environment type.
*
*
* Use in your wp-config.php.
+ You can put it before /* That's all, stop editing! Happy publishing. */
*
* Background info: https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/
*/
@HeikoMamerow
HeikoMamerow / Nginx-make.txt
Last active Apr 17, 2021
Build nginx with Google PageSpeed, Brotli and other modules
View Nginx-make.txt
How to build your custom Nginx
==============================
Works fine for me with Ubuntu 16.04.
Automated Install with pagespeed module (Google)
------------------------------------------------
If you interested, read the original
Source: https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source