Skip to content

Instantly share code, notes, and snippets.

@f1erro
Created November 14, 2016 22:22
Show Gist options
  • Save f1erro/31edc3c1859ec3b66a259011df4b948c to your computer and use it in GitHub Desktop.
Save f1erro/31edc3c1859ec3b66a259011df4b948c 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
vhosts:
myvhost:
vhost: www.myhost.com:9000
cert: /path/to/cert
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