Skip to content

Commit

Permalink
Remove graphana from nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoom-Developer committed Nov 15, 2024
1 parent e887574 commit f4cfebd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ services:
image: grafana/grafana
container_name: mt2107_grafana
ports:
- "3000:3000"
- "127.0.0.1:8023:3000"
volumes:
- grafana_data:/var/lib/grafana

Expand Down
9 changes: 0 additions & 9 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ server {
proxy_buffering off;
}

location /grafana {
proxy_pass http://grafana:3000;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
proxy_buffering off;
}

location / {
proxy_pass http://frontend;
proxy_set_header Host $http_host;
Expand Down

0 comments on commit f4cfebd

Please sign in to comment.