---
title: "Discussion on \"Directive inheritance in NGINX\" | Hashnode"
description: "Discussion on \"Directive inheritance in NGINX\". Directive inheritance in NGINX is a way of reusing configuration directives in different parts of the NGINX configuration file. Directives are inherited from the parent context to the child context. A context is a block of configuration directives. T..."
url: "https://hashnode.com/posts/directive-inheritance-in-nginx/64b76c151b8498b8f8cdbad0"
---

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

Discussion

# [Directive inheritance in NGINX](https://blog.melvincv.com/directive-inheritance-in-nginx?utm_source=hashnode&utm_medium=feed)

Directive inheritance in NGINX is a way of reusing configuration directives in different parts of the NGINX configuration file. Directives are inherited from the parent context to the child context. A context is a block of configuration directives. T...

Jul 19, 2023 · 2 min read · blog.melvincv.com  
Updated Jul 20, 2023  
Read the article

-   [#nginx](https://hashnode.com/tag/nginx)
-   [#inheritance](https://hashnode.com/tag/inheritance)
-   [#configuration](https://hashnode.com/tag/configuration)

## Written by

[Melvin C Varghese (melvincv)](https://hashnode.com/@melvincv)

@melvincv

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

DevOps Engineer

I am a DevOps Consultant. 3 years experience with Cloud technologies. 9 years total IT experience in the Linux, Networking and Data Visualization domains. Love listening to music and playing older PC games.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
