Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. if($request_uri = "/filename.xml") {
  2. rewrite .* /bucketname/bucket-sub-name$request_uri break;
  3. proxy_pass https://s3-ap-southeast-2.amazonaws.com;
  4. }
  5.  
  6. if($request_uri = "/filename.xml"){
  7. proxy_pass https://dev.example.com$request_uri;
  8. }
  9.  
  10. if($request_uri = "/filename.xml"){
  11. proxy_pass https://s3-ap-southeast-2.amazonaws.com/bucketname/bucket-sub-name$request_uri;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement