Compare commits
5 Commits
637deb9395
...
master
Author | SHA1 | Date | |
---|---|---|---|
76a4fbf214 | |||
5c60b243c5 | |||
c89756dbeb | |||
d982284ade | |||
1d27eaf2c9 |
@ -22,7 +22,7 @@ bbaovanc.com {
|
||||
header Cache-Control no-cache
|
||||
root * /var/www/bbaovanc.com/public
|
||||
file_server {
|
||||
precompressed zstd br gzip
|
||||
precompressed br zstd gzip
|
||||
}
|
||||
|
||||
import basicerrors
|
||||
|
@ -4,20 +4,39 @@ demo.bbaovanc.com {
|
||||
import hsts
|
||||
|
||||
root * /var/www/demo.bbaovanc.com
|
||||
header X-Robots-Tag noindex
|
||||
|
||||
@index_pages path / /staging/ /test/ /pull_request/ /archive/
|
||||
handle @index_pages {
|
||||
header Cache-Control no-store
|
||||
header boba-handle indices
|
||||
file_server {
|
||||
browse {
|
||||
sort time desc
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handle /staging/* {
|
||||
header Cache-Control no-cache
|
||||
header boba-handle staging
|
||||
file_server {
|
||||
browse
|
||||
precompressed br gzip
|
||||
precompressed br zstd gzip
|
||||
}
|
||||
}
|
||||
handle {
|
||||
|
||||
@test_sites path /test/* /pull_request/*
|
||||
handle @test_sites {
|
||||
header Cache-Control no-store
|
||||
header X-Robots-Tag noindex
|
||||
header boba-handle test
|
||||
file_server {
|
||||
browse
|
||||
}
|
||||
}
|
||||
|
||||
handle {
|
||||
respond fallback
|
||||
}
|
||||
|
||||
import basicerrors
|
||||
}
|
||||
|
Reference in New Issue
Block a user