New answers tagged

0

You could try something like this: server { root /srv/www/example/htdocs; index index.php; # Matches any URL containing /wp-content/uploads/ location ~ "^(.*)/wp-content/uploads/(.*)$" { try_files $uri @prod_serv; } # Will redirect requests to your production server location @prod_serv { rewrite ...



Top 50 recent answers are included