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