Skip to content

Instantly share code, notes, and snippets.

@nevermosby
Last active April 12, 2017 02:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nevermosby/875b9f7b1799a6207832010d6eafcfc3 to your computer and use it in GitHub Desktop.
Save nevermosby/875b9f7b1799a6207832010d6eafcfc3 to your computer and use it in GitHub Desktop.

zuul 配置

zuul:
  ignoredServices: '*'
  host:
    connect-timeout-millis: 20000
    socket-timeout-millis: 20000

  routes:
    auth-service:
        path: /uaa/**
        url: http://auth-service:5000
        stripPrefix: false
        sensitiveHeaders:

    account-service:
        path: /accounts/**
        serviceId: account-service
        stripPrefix: false
        sensitiveHeaders:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment