small fixes

This commit is contained in:
Henry Hiles 2026-08-18 17:05:48 -04:00
commit 21373eed25
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 5 additions and 6 deletions

View file

@ -12,6 +12,5 @@
reverse_proxy unix//var/run/cozybot/socket
'';
};
}

View file

@ -54,12 +54,12 @@
Disallow: /*/*/*/commit
EOF 200
@commitAnonymous {
path /*/*/src/commit*
not header_regexp Cookie "(^|;\s*)session=[^;]*"
}
@commitAnonymous {
path /*/*/src/commit*
not header_regexp Cookie "(^|;\s*)session=[^;]+(?:;|$)"
}
redir @commitAnonymous /user/login?redirect_to={uri} 302
redir @commitAnonymous /user/login?redirect_to={uri} 302
reverse_proxy unix/${socket}
'';