Add documentation

This commit is contained in:
Oliver Traber 2022-01-16 01:26:22 +01:00
parent 50f3eff79d
commit 5d00c27707
Signed by: Bluemedia
GPG key ID: C7BA47275B086E2C
4 changed files with 88 additions and 12 deletions

BIN
docs/demo-screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

28
docs/example-nginx.conf Normal file
View file

@ -0,0 +1,28 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name status.example.com;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log warn;
ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/cert.key;
# Make Gatus API available relative to the frontend
location /api/v1/endpoints/statuses {
proxy_pass http://gatus:8080/api/v1/endpoints/statuses;
proxy_set_header Host $host;
proxy_redirect http:// https://;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
# Frontend
root /var/www/html;
index index.html index.htm;
location / {
try_files $uri $uri/ =404;
}
}