upstream app { server 127.0 . 0.1 : 49001 ; } server { listen 80 ; server_name jenkins.your-domain.com; location / { proxy_pass http: //app; } } |
标签:table 反代 doc pwd 导致 content pass ane dir
1. docker pull jenkins
2. docker run -d -p
49001
:
8080
-v $PWD/jenkins:/var/jenkins_home:z -t jenkins
如果要设置nginx做反代,可以
upstream app { server 127.0 . 0.1 : 49001 ; } server { listen 80 ; server_name jenkins.your-domain.com; location / { proxy_pass http: //app; } } |
chcon -Rt svirt_sandbox_file_t /path/to/volume
标签:table 反代 doc pwd 导致 content pass ane dir
原文地址:http://www.cnblogs.com/ilovewindy/p/7447796.html