|
@ -9,7 +9,7 @@ server { |
|
|
try_files $uri $uri/ /index.php?$args; |
|
|
try_files $uri $uri/ /index.php?$args; |
|
|
} |
|
|
} |
|
|
rewrite /wp-admin$ $scheme://$host$uri/ permanent; |
|
|
rewrite /wp-admin$ $scheme://$host$uri/ permanent; |
|
|
location ~* ^/wp-content/uploads/.*$ { |
|
|
|
|
|
|
|
|
location ~* ^/wp-content/uploads/.*$ { |
|
|
expires max; |
|
|
expires max; |
|
|
proxy_pass $uploads_upstream; |
|
|
proxy_pass $uploads_upstream; |
|
|
} |
|
|
} |
|
|