Skip to content

Instantly share code, notes, and snippets.

@lukapaunovic
Created July 24, 2020 23:43
Show Gist options
  • Save lukapaunovic/4a2f66a3e615ba28c98d15ef5467c1eb to your computer and use it in GitHub Desktop.
Save lukapaunovic/4a2f66a3e615ba28c98d15ef5467c1eb to your computer and use it in GitHub Desktop.
location ~* /wp-content/resources/.*\.(js|css)$ {
try_files $uri $uri/ /wp-content/autoptimize_404_handler.php;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment