This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; # IPv4 | |
listen [::]:80 ipv6only=on; # IPv6 | |
server_name ~^(?<thishost>[^.]+\.)?subdomain\.example\.com$; | |
access_log off; | |
location / { | |
## Resolve the upstream address using this DNS server or any other. | |
## Choose the one that suits you. |