Skip to content

Commit

Permalink
fix: Nginxからwebsh_serverに疎通できてなかったのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Jan 5, 2022
1 parent 6bfa71b commit cd3e17a
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 @@ -30,14 +30,14 @@ services:

websh_server:
build: *app-build
container_name: websh_server
volumes:
- "./websh_server:/work"
environment:
HOST_PWD: "$PWD/websh_server"
entrypoint: ./entrypoint.sh
ports:
- "5000:5000"
network_mode: "host"

websh_remover:
build: *app-build
Expand Down
2 changes: 1 addition & 1 deletion nginx/conf.d/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ server {
proxy_set_header X-Forwarded-for $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.1.1:5000/;
proxy_pass http://websh_server:5000/;
}

location = /favicon.ico {
Expand Down

0 comments on commit cd3e17a

Please sign in to comment.