Skip to content

Instantly share code, notes, and snippets.

@mdobson
Forked from f1erro/demoConfig2.yaml
Last active December 9, 2016 20:16
Show Gist options
  • Save mdobson/2c4ae5f83eb187d42ed6a662fe054f21 to your computer and use it in GitHub Desktop.
Save mdobson/2c4ae5f83eb187d42ed6a662fe054f21 to your computer and use it in GitHub Desktop.
scopes:
  3cef180d:
    proxies:
      edgemicro_hello:
        revision: '15'
        proxy_name: 'default'
        base_path: '/iloveapis'
        target_name: 'default'
        url: 'http://mocktarget.apigee.net/'
        vhost: myvhost
        plugins:
          - analytics
          - verify-api-key
    analytics:
      uri: >-
        https://edgemicroservices-us-east-1.apigee.net/edgemicro/axpublisher/organization/ws-poc3/environment/test
    spikearrest:
      timeUnit: minute
      allow: 10
      buffersize: 0
system:
  logging:
    level: error
    dir: /var/tmp
    stats_log_interval: 60
    rotate_interval: 24
  port: 8000
  max_connections: 1000
  max_connections_hard: 5000
  restart_sleep: 500
  restart_max: 50
  max_times: 300
  ssl:
    cert: /path/to/cert
    key: /path/to/key
  vhosts:
    myvhost:
      vhost: www.myhost.com:9000
      ssl:
        cert: /path/to/cert
        key: /path/to/key
headers:
  x-forwarded-for: true
  x-forwarded-host: true
  x-request-id: true
  x-response-time: true
  via: true
#commented out because apid APIs aren't ready
#oauth:
#  allowNoAuthorization: false
#  allowInvalidAuthorization: false
#  verify_api_key_url: 'https://ws-poc3-test.apigee.net/edgemicro-auth/verifyApiKey'
analytics:
  uri: >-
    https://edgemicroservices-us-east-1.apigee.net/edgemicro/axpublisher/organization/ws-poc3/environment/test
spikearrest:
  timeUnit: minute
  allow: 1
  buffersize: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment