Skip to content

Commit bc9ca2b

Browse files
committed
Fix comment typo
I believe this was meant to say "post requires a password", rather than "pass requires a password". It's not much, but I noticed it and thought I could at least submit the change. =) Been testing and using this on another site, and the debug headers were a great idea.
1 parent 5424a88 commit bc9ca2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rocket-nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if (-f "$document_root/.maintenance") {
6666

6767
# Do not bypass if one of those cookie if found
6868
# wordpress_logged_in_[hash] : When a user is logged in, this cookie is created (we'd rather let WP-Rocket handle that)
69-
# wp-postpass_[hash] : When a protected pass requires a password, this cookie is created.
69+
# wp-postpass_[hash] : When a protected post requires a password, this cookie is created.
7070
if ($http_cookie ~* "(wordpress_logged_in_|wp\-postpass_)") {
7171
set $rocket_bypass 0;
7272
set $rocket_reason "Cookie";

0 commit comments

Comments
 (0)