Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serve welcome html page #2

Open
5 tasks
evanugarte opened this issue Jan 11, 2025 · 0 comments
Open
5 tasks

serve welcome html page #2

evanugarte opened this issue Jan 11, 2025 · 0 comments

Comments

@evanugarte
Copy link
Contributor

right now, nginx serves this image as the default response, when we open http://one.sce

proxy_pass https://img.huffingtonpost.com/asset/58f8ac5b1b0000320016c87c.png;

it would be much more useful if we rendered some simple html, with links as an unordered list to easily navigate to the different resources (grafana, prometheus, tv, etc) on the server.

game plan

  • install docker and docker compose on your computer
  • watch and follow along https://www.youtube.com/watch?v=HWrhSpN4ar0
  • adapt the nginx server you build to serve a default html webpage, where you mount an html file as part of the docker volume mounts
volumes:
  - index.html:/usr/share/nginx/html/index.html
  • restart the container, does it serve your html webpage?
  • if above step works, the html webpage should look like:
Welcome to the SCE Poweredge 2950!

- Grafana
- Prometheus
- Alertmanager
- SCE TV

the above 3 bullet points should be hyperlinks (<a> tags) to one.sce/grafana, one.sce/prometheus, one.sce/alertmanager, one.sce/tv respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant