Skip to content

Instantly share code, notes, and snippets.

View nshermione's full-sized avatar

Thinh Tran nshermione

  • MECORP
  • Vietnam
View GitHub Profile
/**
* Created by thinhtran on 1/30/17.
*/
class A {
protected a = 1;
constructor() {
server {
listen 80; # Listen on port 80 for IPv4 requests
server_name jenkins.example.com;
#this is the jenkins web root directory (mentioned in the /etc/default/jenkins file)
root /var/run/jenkins/war/;
access_log /var/log/nginx/jenkins/access.log;
error_log /var/log/nginx/jenkins/error.log;