SHARE
TWEET

Untitled

a guest Feb 17th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $http.get('/v2/organizations');
  2.    
  3. location /v2{
  4.     proxy_set_header Referer '';
  5.     proxy_pass https://api.myapp.com;
  6. }
  7.    
  8. location /api1/v2{
  9.     proxy_set_header Referer '';
  10.     proxy_pass https://api1.hello.com;
  11. }
  12. location /api2/v2{
  13.     proxy_set_header Referer '';
  14.     proxy_pass https://api2.hello.com;
  15. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top