mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 12:27:02 +00:00
add a new example
This commit is contained in:
22
_examples/configuration/multi-environments/server.dev.yml
Normal file
22
_examples/configuration/multi-environments/server.dev.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
ServerName: "my-iris-app"
|
||||
|
||||
Host: 0.0.0.0
|
||||
Port: 8080
|
||||
EnableCompression: false
|
||||
AllowOrigin: "*"
|
||||
|
||||
# Your development environment'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