|
|
|
@ -465,8 +465,8 @@ whatever.{$MY_DOMAIN} {
|
|
|
|
|
|
|
|
|
|
### HSTS and redirects
|
|
|
|
|
|
|
|
|
|
Here is example of a redirect when wanting the common reddirect
|
|
|
|
|
from www to naked domain.
|
|
|
|
|
Here is an example of a redirect when wanting the common case of
|
|
|
|
|
switching anyone that comes to A www subdomain to the naked domain.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
www.{$MY_DOMAIN} {
|
|
|
|
@ -474,7 +474,7 @@ www.{$MY_DOMAIN} {
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Another example is running NextCloud behind any proxy,
|
|
|
|
|
Another example is running NextCloud behind proxy,
|
|
|
|
|
which likely shows few warning on its status page.
|
|
|
|
|
It requires some redirects for service discovery to work and would like
|
|
|
|
|
if [HSTS](https://www.youtube.com/watch?v=kYhMnw4aJTw) would be set.<br>
|
|
|
|
|