Jump to content

Caddy: Difference between revisions

146 bytes added ,  31 July 2022
m
Add note to upstream documentation
imported>Onny
No edit summary
imported>Onny
m (Add note to upstream documentation)
Line 17: Line 17:


=== Redirect ===
=== Redirect ===
 
Redirecting <code>example.org</code> to <code>www.example.org</code>
<syntaxhighlight lang="nix>
<syntaxhighlight lang="nix>
caddy.virtualHosts."example.org".extraConfig = ''
caddy.virtualHosts."example.org".extraConfig = ''
Line 24: Line 24:
</syntaxhighlight>
</syntaxhighlight>


== See also ==
* [https://caddyserver.com/docs/ Official Caddy documentation]
[[Category:Applications]]
[[Category:Applications]]
[[Category:Web Servers]]
[[Category:Web Servers]]
Anonymous user