Change nginx status port to 18080 to avoid conflicts with port 8080
This commit is contained in:
parent
0d1dd32567
commit
3ef038c557
3 changed files with 5 additions and 5 deletions
|
|
@ -93,10 +93,10 @@ spec:
|
|||
hostPort: 80
|
||||
- containerPort: 443
|
||||
hostPort: 443
|
||||
# we expose 8080 to access nginx stats in url /nginx-status
|
||||
# we expose 18080 to access nginx stats in url /nginx-status
|
||||
# this is optional
|
||||
- containerPort: 8080
|
||||
hostPort: 8080
|
||||
- containerPort: 18080
|
||||
hostPort: 18080
|
||||
args:
|
||||
- /nginx-ingress-controller
|
||||
- --default-backend-service=default/default-http-backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue