Caddy: Difference between revisions
imported>Onny Add config examples for serving static files and SSL config |
imported>Onny No edit summary |
||
Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
The example snippet below will run Caddy on http://localhost and serving an [http://localhost/example.html example.html] | The example snippet below will run Caddy on http://localhost and serving an [http://localhost/example.html example.html] page. | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> |