Last active
August 16, 2021 17:11
-
-
Save parsafatehi/2f41bb74df7e57ae7b1f64374fd1b744 to your computer and use it in GitHub Desktop.
Revisions
-
parsafatehi renamed this gist
Aug 16, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
parsafatehi created this gist
Aug 16, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ location ~ ^/wp-content/uploads/(.*) { if (!-f $request_filename) { rewrite ^/wp-content/uploads/(.*)$ http://REMOTE_DOMAIN.com/wp-content/uploads/$1 redirect; } }