Skip to content

Commit

Permalink
Revert "finalized docker compose"
Browse files Browse the repository at this point in the history
This reverts commit aebc31a.
  • Loading branch information
LordFarquaadtheCreator committed Nov 19, 2024
1 parent 8617fee commit 9ae39da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
services:
server:
backend:
build:
dockerfile: Dockerfile
container_name: server
Expand All @@ -12,7 +12,7 @@ services:
image: nginx:latest
container_name: nginx
depends_on:
- server
- backend
ports:
- "80:80"
networks:
Expand Down
6 changes: 3 additions & 3 deletions nginx.conf → ngnix.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
server {
listen 80 default_server;
# server_name test.byteccny.com;
listen 80;
server_name test.byteccny.com;

location / {
proxy_pass http://server:3000/;
proxy_pass http://server:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
Expand Down

0 comments on commit 9ae39da

Please sign in to comment.