Skip to content

Commit 9e60538

Browse files
committed
added nginx.conf
1 parent 00311a5 commit 9e60538

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

nginx.conf

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
server {
2+
listen 80;
3+
server_name nginx-reverse-proxy;
4+
location / {
5+
proxy_pass http://localhost:8080/;
6+
}
7+
}
8+
9+
server {
10+
listen 8080;
11+
server_name index-html;
12+
root /usr/share/nginx/html;
13+
location / {
14+
index index.html;
15+
}
16+
}

0 commit comments

Comments
 (0)