Skip to content

Commit d2ad9e3

Browse files
committed
init
0 parents  commit d2ad9e3

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: '3.7'
2+
services:
3+
nginx:
4+
image: nginx:latest
5+
volumes:
6+
- ./nginx.conf:/etc/nginx/nginx.conf

nginx.conf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
events {}
3+
4+
http {
5+
server {
6+
listen 80;
7+
server_name _;
8+
9+
location / {
10+
proxy_pass http://10.37.0.37:32400; # Replace with your local IP address
11+
proxy_set_header Host $host;
12+
proxy_set_header X-Real-IP $remote_addr;
13+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
14+
proxy_set_header X-Forwarded-Proto $scheme;
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)