update from sparkleup
This commit is contained in:
parent
930c233aa2
commit
5b18df40a9
|
@ -73,7 +73,7 @@ server {
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
After that, the proxying happens. It basically takes any incoming requests and proxies them to the Jenkins instance that is bound/listening to port 8080 on the local network interface. This is a slightly different situation, but [this tutorial](https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-front-end-proxy-for-apache) has some good information about the Nginx proxy settings.
|
After that, the proxying happens. It basically takes any incoming requests and proxies them to the Jenkins instance that is bound/listening to port 8080 on the local network interface.
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
...
|
...
|
||||||
|
@ -92,6 +92,10 @@ location / {
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<$>[note]
|
||||||
|
**Note:** If you'd like to learn more about proxying in Nginx, [this tutorial](https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-front-end-proxy-for-apache) has some good information about the Nginx proxy settings.
|
||||||
|
<$>
|
||||||
|
|
||||||
A few quick things to point out here. If you don't have a domain name that resolves to your Jenkins server, then the <^>proxy\_redirect<^> statement above won't function correctly without modification, so keep that in mind. Also, if you misconfigure the <^>proxy\_pass<^> (by adding a trailing slash for example), you will get something similar to the following in your Jenkins Configuration page.
|
A few quick things to point out here. If you don't have a domain name that resolves to your Jenkins server, then the <^>proxy\_redirect<^> statement above won't function correctly without modification, so keep that in mind. Also, if you misconfigure the <^>proxy\_pass<^> (by adding a trailing slash for example), you will get something similar to the following in your Jenkins Configuration page.
|
||||||
|
|
||||||
![Jenkins error: Reverse proxy set up is broken](https://assets.digitalocean.com/articles/nginx_jenkins/1.jpg)
|
![Jenkins error: Reverse proxy set up is broken](https://assets.digitalocean.com/articles/nginx_jenkins/1.jpg)
|
||||||
|
|
Loading…
Reference in New Issue