nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

[Feature Suggestion] Add quick toggles for x_robots-tag ("NO INDEX and NO FOLLOW" etc)

Open yurividal opened this issue 2 years ago • 4 comments

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";

yurividal avatar Jan 19 '23 17:01 yurividal

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";
  }

brtwrst avatar Jan 21 '23 07:01 brtwrst

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).

LDprg avatar Jun 27 '23 11:06 LDprg

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

github-actions[bot] avatar Jan 30 '24 01:01 github-actions[bot]

👍

yurividal avatar Jan 30 '24 01:01 yurividal