<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nginx on egig.github.io</title><link>https://egig.github.io/blog/nginx/</link><description>Recent content in Nginx on egig.github.io</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 17 Aug 2019 10:00:00 +0000</lastBuildDate><atom:link href="https://egig.github.io/blog/nginx/index.xml" rel="self" type="application/rss+xml"/><item><title>Subdomain Based NodeJS App with NGINX</title><link>https://egig.github.io/subdomain-based-nodejs-app-with-nginx/</link><pubDate>Sat, 17 Aug 2019 10:00:00 +0000</pubDate><guid>https://egig.github.io/subdomain-based-nodejs-app-with-nginx/</guid><description>&lt;p&gt;This is part of my pet projects. I need to create web app which the state is depends on the subdomain. Similar with wordpress or blogspot blog. e.g mysite.wordpress.com or mysite.blogspot.com. This is how I do it.&lt;/p&gt;&#10;&lt;p&gt;So in NGINX, we can create vhost a.k.a server block and map the server name by wildcard. So to point any subdomain of certain domain to our server, we can do something like this.&lt;/p&gt;</description></item></channel></rss>