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
|
reverse_proxy unix//var/run/cozybot/socket
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,12 +54,12 @@
|
||||||
Disallow: /*/*/*/commit
|
Disallow: /*/*/*/commit
|
||||||
EOF 200
|
EOF 200
|
||||||
|
|
||||||
@commitAnonymous {
|
@commitAnonymous {
|
||||||
path /*/*/src/commit*
|
path /*/*/src/commit*
|
||||||
not header_regexp Cookie "(^|;\s*)session=[^;]*"
|
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}
|
reverse_proxy unix/${socket}
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue