[GH-ISSUE #2551] [Feature Suggestion] Add quick toggles for x_robots-tag ("NO INDEX and NO FOLLOW" etc) #1781

Open
opened 2026-02-26 07:32:26 +03:00 by kerem · 7 comments
Owner

Originally created by @yurividal on GitHub (Jan 19, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2551

I know you can do it via the advanced tab, but it would be nice to have a quick toggle to make a page not indexable in search engines.

add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";

Originally created by @yurividal on GitHub (Jan 19, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2551 I know you can do it via the advanced tab, but it would be nice to have a quick toggle to make a page not indexable in search engines. add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
Author
Owner

@brtwrst commented on GitHub (Jan 21, 2023):

a quick toggle for blocking Search engines would be really nice

This one could be used as well / in addition

  location = /robots.txt {
   add_header Content-Type text/plain;
   return 200 "User-agent: *\nDisallow: /\n";
  }
<!-- gh-comment-id:1399199611 --> @brtwrst commented on GitHub (Jan 21, 2023): a quick toggle for blocking Search engines would be really nice This one could be used as well / in addition ``` location = /robots.txt { add_header Content-Type text/plain; return 200 "User-agent: *\nDisallow: /\n"; } ```
Author
Owner

@LDprg commented on GitHub (Jun 27, 2023):

a quick toggle for blocking Search engines would be really nice

This one could be used as well / in addition

  location = /robots.txt {
   add_header Content-Type text/plain;
   return 200 "User-agent: *\nDisallow: /\n";
  }

Just want to note this for the workaroud (because I was struggeling with it). The code should be added to the custom config in the server_proxy.conf (see the advanced chapter in the documentation).

<!-- gh-comment-id:1609278280 --> @LDprg commented on GitHub (Jun 27, 2023): > a quick toggle for blocking Search engines would be really nice > > This one could be used as well / in addition > > ``` > location = /robots.txt { > add_header Content-Type text/plain; > return 200 "User-agent: *\nDisallow: /\n"; > } > ``` Just want to note this for the workaroud (because I was struggeling with it). The code should be added to the custom config in the server_proxy.conf (see the advanced chapter in the documentation).
Author
Owner

@github-actions[bot] commented on GitHub (Jan 30, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:1915914284 --> @github-actions[bot] commented on GitHub (Jan 30, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@yurividal commented on GitHub (Jan 30, 2024):

👍

<!-- gh-comment-id:1915918385 --> @yurividal commented on GitHub (Jan 30, 2024): 👍
Author
Owner

@github-actions[bot] commented on GitHub (Nov 15, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2477807537 --> @github-actions[bot] commented on GitHub (Nov 15, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@LDprg commented on GitHub (Nov 15, 2024):

👍

<!-- gh-comment-id:2478456964 --> @LDprg commented on GitHub (Nov 15, 2024): 👍
Author
Owner

@github-actions[bot] commented on GitHub (Aug 14, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:3186522979 --> @github-actions[bot] commented on GitHub (Aug 14, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1781
No description provided.