[fix] caddyfile
This commit is contained in:
parent
44d75ba59c
commit
3ea127607b
@ -1,7 +1,8 @@
|
|||||||
localhost {
|
:80, :443 {
|
||||||
respond "Hello, world!"
|
encode zstd gzip
|
||||||
|
https://caddyserver.com/docs/caddyfile
|
||||||
|
file_server browse
|
||||||
}
|
}
|
||||||
|
:8080 {
|
||||||
n2-plus.local {
|
respond "I am 8080"
|
||||||
root site
|
|
||||||
}
|
}
|
@ -1,8 +1,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>yes</title>
|
<title>Caddy test</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
heloo
|
This is a test
|
||||||
|
<div>Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}</div>div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user