Skip to content

Instantly share code, notes, and snippets.

@cuongpjh
Created Mar 27, 2018
Embed
What would you like to do?
domain.conf
location ~* ^/wp-content/.+\.(png|jpg)$ {
add_header Vary Accept;
try_files $uri$webp_suffix $uri =404;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment