Skip to content

Instantly share code, notes, and snippets.

颜风 ios122

View GitHub Profile
@ios122
ios122 / nodejs_port_forward_by_http.js
Created Jul 14, 2016
http port forward for nodejs,ie access jenkins by http://yourhostname/jenkins,which located at http://yourhostname:8080/jenkins
View nodejs_port_forward_by_http.js
'use strict';
/* Sample
forward :8087/jenkins to :8080/jenkins.
In product,the entityPort can be 80,so u can access jenkins
by http://yourhostname/jenkins
Good Luck! All Done Just By NodeJS!
*/
You can’t perform that action at this time.