---
title: "Discussion on \"How to block search engines in the nginx\" | Hashnode"
description: "Discussion on \"How to block search engines in the nginx\". If you have three layered development structures (local dev, remote staging, remote production) like me, you want to search engines index your staging server. It is easy to prevent search engines from indexing your Nginx web server.\nadd_header X-Robo..."
url: "https://hashnode.com/posts/how-to-block-search-engines-in-the-nginx/6390d0cc68aae0e23a91f49d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to block search engines in the nginx](https://www.erdaltaskesen.com/how-to-block-search-engines-in-the-nginx?utm_source=hashnode&utm_medium=feed)

If you have three layered development structures (local dev, remote staging, remote production) like me, you want to search engines index your staging server. It is easy to prevent search engines from indexing your Nginx web server. add\_header X-Robo...

Feb 19, 2018 · 1 min read · erdaltaskesen.com  
Updated Dec 10, 2022  
Read the article

-   [#seo](https://hashnode.com/tag/seo)
-   [#seo-for-developers](https://hashnode.com/tag/seo-for-developers)
-   [#devops](https://hashnode.com/tag/devops)
-   [#google](https://hashnode.com/tag/google)
-   [#nginx](https://hashnode.com/tag/nginx)

## Written by

[Erdal TAŞKESEN](https://hashnode.com/@erdaltsksn)

@erdaltsksn · Earth

  
[View profile](https://hashnode.com/@erdaltsksn)

Self-Taught Software Engineer, Day Trader, Investor, Entrepreneur, and Teacher

Hey, y’all 🖖🏽 I am a passionate self-taught developer, open-source advocate, and tech enthusiast with a hands-on approach to problem-solving and an unending thirst for knowledge. Anything and everything classified as technology fascinate me.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
