Skip to content

Commit 38778ed

Browse files
committed
Change health check port from 18080 to 18081
Because we have nginx running it's health check on 18080 which results in a port conflict. Since we're running nginx-proxy on 8081 anyway (for the same reason), makes sense to use 18081. Here’s the error … ``` 2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use) 2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use) 2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use) 2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use) 2021/01/07 09:45:11 [emerg] 1#1: bind() to 0.0.0.0:18080 failed (98: Address in use) nginx: [emerg] bind() to 0.0.0.0:18080 failed (98: Address in use) 2021/01/07 09:45:11 [emerg] 1#1: still could not bind() nginx: [emerg] still could not bind() ```
1 parent b497e0c commit 38778ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ server {
5656
## Logging
5757

5858
To change how logging is configured, mount a file at `/etc/nginx/log.conf`:
59-
```nginx
59+
```nginx
6060
access_log off;
6161
error_log off;
6262
```
@@ -73,4 +73,4 @@ It's important to note that overriding this file will remove the current default
7373

7474
## Health check
7575

76-
A health check is available on port `18080` at `/healthz`.
76+
A health check is available on port `18081` at `/healthz`.

config/http.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ http {
2525
include /etc/nginx/app.conf;
2626

2727
server {
28-
listen 18080 default_server;
28+
listen 18081 default_server;
2929

3030
location /healthz {
3131
access_log off;

0 commit comments

Comments
 (0)