Created
July 24, 2020 00:04
-
-
Save modemlooper/711e435aaa4661de7677696b5b0a1630 to your computer and use it in GitHub Desktop.
flywheel local use production media
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load media in /uploads/ from remote site. | |
location ~ ^/wp-content/uploads/(.*) { | |
rewrite ^/wp-content/uploads/(.*)$ https://url.com/wp-content/uploads/$1 permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment