small fixes
This commit is contained in:
parent
879bff808a
commit
21373eed25
2 changed files with 5 additions and 6 deletions
|
|
@ -12,6 +12,5 @@
|
|||
|
||||
reverse_proxy unix//var/run/cozybot/socket
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Reference in a new issue