ssh root@jenkins.example.com
sudo apt-get update
sudo apt-get install nginx
link : https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04
cd /etc/nginx
* nginx.conf contains the configuration. Do not edit the file. Refere the http { ... }
cd /etc/nginx/sites-enabled
server {
listen 80;
server_name http://abcd.xyz.com;
location / {
proxy_pass http://localhost:8080;
}
}
nohup ./phabulous_linux_amd64 serve &