File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ that I build upon prior to switching to
4848
4949# How to write the ` sites.cfg ` file
5050
51- The format is rather simple and has three options only.
51+ The format is rather simple and has four options only.
5252Let's look at this example:
5353
5454 [example.org]
@@ -64,7 +64,13 @@ content. Here, `example-org` is the name of the Docker container that
6464Docker DNS will let us access because we made both containers join external
6565network ` ssl-reverse-proxy ` in their ` docker-compose.yml ` files.
6666` aliases ` is an optional list of domain names to have both HTTP and HTTPS
67- redirect to master domain ` example.org ` . That's it.
67+ redirect to master domain ` example.org ` .
68+ Adding ` hsts_preload = true ` is optional, defaults to false, and extends the
69+ [ HSTS] ( https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security )
70+ response headers to
71+ [ unlock addition to the browser preload list] ( https://hstspreload.org/#submission-requirements )
72+ at [ https://hstspreload.org/ ] ( https://hstspreload.org/ ) .
73+ That's it.
6874
6975The ` Caddyfile ` generated from that very ` sites.cfg ` would read:
7076
You can’t perform that action at this time.
0 commit comments