Skip to content

Commit c6213a7

Browse files
authored
Create nginx.default
1 parent 5cee56a commit c6213a7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

nginx.default

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# nginx.default
2+
3+
server {
4+
listen 80;
5+
listen [::]:80;
6+
server_name *.devtron.info;
7+
root /app;
8+
9+
location / {
10+
proxy_set_header Host $host;
11+
proxy_set_header X-Real-IP $remote_addr;
12+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
13+
proxy_set_header X-Forwarded-Proto $scheme;
14+
proxy_pass http://127.0.0.1:3000;
15+
}
16+
17+
}

0 commit comments

Comments
 (0)