Add robots.txt for beta environment to disallow indexing #71

Closed
opened 2025-07-25 11:29:06 +08:00 by squid · 1 comment
Owner
No description provided.
squid added this to the 0.2 milestone 2025-07-25 11:29:06 +08:00
squid added the
invalid
label 2025-07-25 11:29:06 +08:00
squid added this to the Pre-release Development Plan project 2025-07-25 11:29:06 +08:00
squid moved this to In Progress in Pre-release Development Plan on 2025-07-25 11:29:08 +08:00
Author
Owner

Add a location block to nginx setting

    location /robots.txt {
        add_header Content-Type text/plain;
        return 200 "User-Agent: *\nDisallow: /\n";
    }   
Add a location block to nginx setting ```nginx location /robots.txt { add_header Content-Type text/plain; return 200 "User-Agent: *\nDisallow: /\n"; } ```
squid closed this issue 2025-07-25 11:35:57 +08:00
squid moved this to Done in Pre-release Development Plan on 2025-07-25 11:36:04 +08:00
squid added
bug
and removed
invalid
labels 2025-07-25 16:38:08 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: squid/blog#71
No description provided.