It works a bit better, but stil slow first time load
This commit is contained in:
parent
f59c52e9e1
commit
9c36a97f46
6 changed files with 100 additions and 61 deletions
20
Caddyfile
Normal file
20
Caddyfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
{
|
||||
order anubis after encode
|
||||
order redir after anubis
|
||||
}
|
||||
|
||||
:18888 {
|
||||
request_header +X-Real-IP {remote_host}
|
||||
request_header +X-Forwarded-For {remote_host}
|
||||
|
||||
anubis
|
||||
|
||||
handle / {
|
||||
try_files {path} /index.html
|
||||
file_server {
|
||||
root web/
|
||||
browse
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue