Skip to content

Commit 8f63f9f

Browse files
committed
Make the nextcloud instance use the robots file, do not log gatus status accesses.
1 parent cf36a3e commit 8f63f9f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

caddy/config/Caddyfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@
4646
}
4747

4848
(nextcloud) {
49-
import defaulthdr
49+
import robots
50+
@gatus {
51+
header "User-Agent" "Gatus*"
52+
path /status.php
53+
}
54+
log_skip @gatus
5055
root * /var/www/html
5156
file_server
5257
redir /.well-known/carddav /remote.php/dav 301

0 commit comments

Comments
 (0)