Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $http.get('/v2/organizations');
- location /v2{
- proxy_set_header Referer '';
- proxy_pass https://api.myapp.com;
- }
- location /api1/v2{
- proxy_set_header Referer '';
- proxy_pass https://api1.hello.com;
- }
- location /api2/v2{
- proxy_set_header Referer '';
- proxy_pass https://api2.hello.com;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement