---
title: "Discussion on \"Generate server block (v-hosts) for nginx dynamically\" | Hashnode"
description: "Discussion on \"Generate server block (v-hosts) for nginx dynamically\". Learn how to dynamically generate nginx virtual hosts using shell scripts, including examples for reverse proxy."
url: "https://hashnode.com/posts/generate-server-block-v-hosts-for-nginx-dynamically/66f1ca0e94fff7a175aed5b9"
---

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

Discussion

# [Generate server block (v-hosts) for nginx dynamically](https://eichgi.hashnode.dev/generate-server-block-v-hosts-for-nginx-dynamically?utm_source=hashnode&utm_medium=feed)

Learn how to dynamically generate nginx virtual hosts using shell scripts, including examples for reverse proxy.

Jan 17, 2022 · 4 min read · eichgi.hashnode.dev  
Read the article

-   [#nginx](https://hashnode.com/tag/nginx)
-   [#pm2](https://hashnode.com/tag/pm2)
-   [#virtual-host](https://hashnode.com/tag/virtual-host)
-   [#bash](https://hashnode.com/tag/bash)

## Written by

[Hiram](https://hashnode.com/@eichgi)

@eichgi · Online

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

Senior Software Engineer | AI Engineer

Becoming an AI expert...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
