mirror of
https://github.com/kataras/iris.git
synced 2026-01-03 18:27:07 +00:00
add a new example
This commit is contained in:
19
_examples/configuration/multi-environments/server.yml
Normal file
19
_examples/configuration/multi-environments/server.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
Host: 0.0.0.0
|
||||
Port: 80
|
||||
EnableCompression: true
|
||||
AllowOrigin: "*"
|
||||
|
||||
# Your production's database connection configuration here...
|
||||
|
||||
####
|
||||
|
||||
# Iris configuration.
|
||||
Iris:
|
||||
LogLevel: info
|
||||
EnableOptimizations: true
|
||||
RemoteAddrHeaders:
|
||||
- "X-Real-Ip"
|
||||
- "X-Forwarded-For"
|
||||
- "CF-Connecting-IP"
|
||||
- "True-Client-Ip"
|
||||
- "X-Appengine-Remote-Addr"
|
||||
Reference in New Issue
Block a user