Skip to content

Commit

Permalink
Fixed path for haproxy and renamed the created server
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Ambaum committed Jun 20, 2024
1 parent a60109b commit ed9deaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grafana_monitoring/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
- 80:80
- 443:443
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
- ./haproxy.cfg:/etc/haproxy/haproxy.cfg

networks:
backend:
4 changes: 2 additions & 2 deletions grafana_monitoring/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ defaults

frontend myfrontend
bind :80
bind :443 ssl crt /usr/local/etc/haproxy/grafana.crt
bind :443 ssl crt /etc/haproxy/grafana.crt
http-request redirect scheme https unless { ssl_fc }
default_backend webservers

backend webservers
server sv grafana-instance:3000 check
server grafana-server grafana-instance:3000 check

0 comments on commit ed9deaa

Please sign in to comment.