Nginx reverse proxy on python simplehttpserver
<p>I was trying to setup NGINX reverse proxy on Python SimpleHTTPServer. My <code>web.conf</code> file present in <strong><code>/etc/nginx/conf.d</code></strong> and the setting present in the file is as follows.</p>

<pre><code>server {
    server_name localhost;

    location / {
        proxy_pass http://192.168.1.3:8000/;
    } 
}
</code></pre>

<p>My NGINX is up and running. I did the reload after saving the <code>web.conf</code> file. On the other hand, I'm also running Python SimpleHTTPServer in directory <strong><code>home/user/projects/</code></strong></p>

<p>But when I open the browser and visit <code>localhost</code> it shows me the NGINX Welcome Page and not the <code>index.html</code> file which is inside the directory in which I'm running Python SimpleHTTPServer.</p>