mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 14:06:17 -04:00
21 lines
No EOL
256 B
Markdown
21 lines
No EOL
256 B
Markdown
<div class="ex-local-https">
|
|
|
|
```caddy
|
|
localhost {
|
|
respond "Hello from HTTPS!"
|
|
}
|
|
|
|
192.168.1.10 {
|
|
respond "Also HTTPS!"
|
|
}
|
|
|
|
http://localhost {
|
|
respond "Plain HTTP"
|
|
}
|
|
```
|
|
|
|
</div>
|
|
|
|
<script>
|
|
window.$_('.ex-local-https code').classList.add('light');
|
|
</script> |