Skip to content

Commit cd57269

Browse files
committed
created nginx folder with Dockerfile and nginx.conf file
1 parent 1f08ee8 commit cd57269

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

nginx/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM tobi312/rpi-nginx
2+
ADD ./nginx.conf /etc/nginx/nginx.conf

nginx/nginx.conf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# author Jan Van den Audenaerde
2+
# creation date 2018-11-11
3+
# http://docs.grafana.org/installation/behind_proxy/
4+
5+
events {}
6+
7+
http {
8+
server {
9+
listen 80;
10+
listen 443 ssl;
11+
root /usr/share/nginx/www;
12+
index index.html index.htm;
13+
14+
location / {
15+
proxy_pass http://grafana:3000;
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)