Skip to content

Commit

Permalink
fixed the nginx config, both routes were to 5000
Browse files Browse the repository at this point in the history
  • Loading branch information
CMYanko committed Apr 17, 2019
1 parent a5f036e commit 34dd67e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'
services:
nginx-proxy:
build: ./nginx
image: 'cmyanko/sonatype_nginx-proxy:2.6'
image: 'cmyanko/sonatype_nginx-proxy:2.6.1'
ports:
- '443:443'
- '5000:5000'
Expand Down
2 changes: 1 addition & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ server {
chunked_transfer_encoding on;

location / {
proxy_pass http://nexus:5000/;
proxy_pass http://nexus:18443/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
Expand Down

0 comments on commit 34dd67e

Please sign in to comment.