Jump to content

Caddy: Difference between revisions

No change in size ,  6 August 2022
no edit summary
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] file.
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>
Anonymous user