mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 19:07:06 +00:00
Add a simple Caddy+Iris tutorial 👍
Former-commit-id: 8761afce72aa35b91c9b5a958f1cafc027aabddd
This commit is contained in:
9
_examples/tutorial/caddy/Caddyfile
Normal file
9
_examples/tutorial/caddy/Caddyfile
Normal file
@@ -0,0 +1,9 @@
|
||||
example.com {
|
||||
header / Server "Iris"
|
||||
proxy / example.com:9091 # localhost:9091
|
||||
}
|
||||
|
||||
api.example.com {
|
||||
header / Server "Iris"
|
||||
proxy / api.example.com:9092 # localhost:9092
|
||||
}
|
||||
Reference in New Issue
Block a user