#
# NGINX configuration file
# To make NGINX reverse proxy on login-app.eastgate.in webserver / website
#
#
# step 1: Copy this config file
# $ sudo cp login-app.eastgate.in /etc/nginx/sites-available
#
# step 2: Enable this site
# $ sudo ln -s /etc/nginx/sites-available/login-app.eastgate.in /etc/nginx/sites-enabled
#
# step 3: Restart NGINX service
# $ sudo systemctl restart nginx
#
# step 4: Check status of this service
# $ sudo systemctl status nginx
#
# step 5: Check NGINX is running with NO ERRORs
# $ sudo nginx -t
#
server {
listen 80;
listen [::]:80;
server_name login-app.eastgate.in;
location / {
proxy_pass http://localhost:5000;
}
}