Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.01 KB

DEPLOYMENT.md

File metadata and controls

25 lines (15 loc) · 1.01 KB

DEPLOYMENT

Now currenetly documented for deployment for NGINX server in linux platform  

Take a build

ng build --prod --configuration=production 

Install NGINX if its not already available

  1. For Ubuntu 16.04
  2. For Ubuntu 18.04
  3. Official NGINX Installation Guide

Setup the NGINX Configuration

 1. configure the nginx server configuration file as per here nginx.default.conf  
    in /etc/nginx/sites-available/ (file name is default)
 
 2. move the build file into var/www/html/

Now check your server, it will work

Note: There is HTTP configuration only in this nginx.default.conf if you want enable HTTPS you need to add some code in default conf file.