Skip to content

Commit

Permalink
hotfix: nginx 로깅 docker-compose 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
Shin-Jae-Yoon committed Nov 30, 2023
1 parent 56386e8 commit a806cbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions infra/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/certbot/conf:/etc/letsencrypt
- ./nginx/certbot/www:/var/www/certbot
- ../logs/nginx:/var/log/nginx
certbot:
image: certbot/certbot:latest
container_name: certbot
Expand Down
4 changes: 2 additions & 2 deletions infra/nginx/templates/ssl-server.template
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
server {
listen 443 ssl;
server_name ${SERVER_DOMAIN};
access_log /home/ubuntu/moabam/logs/access_ssl_moabam.log main;
error_log /home/ubuntu/moabam/logs/error.log error;
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log error;

location ^~ /actuator {
return 404;
Expand Down

0 comments on commit a806cbd

Please sign in to comment.