Advertisement
Guest User

Untitled

a guest
Nov 14th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.46 KB | None | 0 0
  1. http:
  2.   port: 8080
  3. admin:
  4.   port: 9876
  5.   hostname: localhost
  6. apiEndpoints:
  7.   db:
  8.     host: localhost
  9.     paths:
  10.        - '/db*'
  11. serviceEndpoints:
  12.   db:
  13.     url: 'http://127.0.0.1:5984'
  14. ...
  15. pipelines:
  16.   default:
  17.     apiEndpoints:
  18.      - db
  19.     policies:
  20.       - proxy:
  21.         - action:
  22.             serviceEndpoint: db
  23.             prependPath: false
  24.             ignorePath:  true
  25.             stripPath:   true
  26.             changeOrigin: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement