Skip to content

Commit

Permalink
chore: 默认不启用 nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyao27 committed Sep 8, 2022
1 parent 3ca4968 commit 34762de
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ services:
- postgres
- redis

nginx:
image: nginx:alpine
restart: always
ports:
- '3001:3001'
- '6661:6661'
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./logs:/var/log/nginx
- ./secrets:/app/secrets
depends_on:
- app
# nginx:
# image: nginx:alpine
# restart: always
# ports:
# - '3001:3001'
# - '6661:6661'
# volumes:
# - ./nginx.conf:/etc/nginx/nginx.conf
# - ./logs:/var/log/nginx
# - ./secrets:/app/secrets
# depends_on:
# - app
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ http {
ssl_certificate_key /app/secrets/key.pem;

location / {
proxy_pass http://app:6000;
proxy_pass http://app:6660;
}
}
}

0 comments on commit 34762de

Please sign in to comment.