1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 21:15:56 +00:00

apps.Switch(apps.Hosts...) example

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-18 04:17:53 +03:00
parent 589c8c6242
commit 5481b9a6c1
19 changed files with 164 additions and 114 deletions

View File

@@ -359,6 +359,10 @@ Response:
Other Improvements:
- New [apps](https://github.com/kataras/iris/tree/master/apps) subpackage. [Example of usage](https://github.com/kataras/iris/tree/master/_examples/routing/subdomains/redirect/multi-instances).
![apps image example](https://user-images.githubusercontent.com/22900943/90459288-8a54f400-e109-11ea-8dea-20631975c9fc.png)
- Fix `AutoTLS` when used with `iris.TLSNoRedirect` [*](https://github.com/kataras/iris/issues/1577). The `AutoTLS` runner can be customized through the new `iris.AutoTLSNoRedirect` instead, read its go documentation. Example of having both TLS and non-TLS versions of the same application without conflicts with letsencrypt `./well-known` path:
![](https://iris-go.com/images/github/autotls-1.png)