Skip to content

Instantly share code, notes, and snippets.

@yoren yoren/nginx.conf
Last active Mar 13, 2016

Embed
What would you like to do?
Proxy WP content images for your local server
// Source: https://www.chriswiegman.com/2016/02/getting-media-on-your-local-wordpress-site/
// But if you need an nginx flavor
// Put this in your server block
rewrite ^/wp-content/uploads(.+)$ http://myurl.com/wp-content/uploads$1 last;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.