Server: Nginx
Configure Nginx to serve your application
Config File
Create .conf file
Create Nginx config file for nesula.ifactory.co:
Edit .conf file
Open .conf file in Nano editor:
Paste .conf file contents
The following code should be pasted into the .conf file:
Save your .conf file in Nano or whatever editor you are using.
Symlink Sites Enabled
To enable a website in Nginx a symlink must be created between the .conf in the sites-enabled and sites-available folders:
Test Nginx config
To establish if the new site .conf is correct run:
Restart Nginx
Restart nginx to ensure the site .conf is available to the world:
Last updated
Was this helpful?