mirror of
https://github.com/BluemediaDev/fancy-gatus.git
synced 2025-05-05 21:41:35 +02:00
Add documentation
This commit is contained in:
parent
50f3eff79d
commit
5d00c27707
4 changed files with 88 additions and 12 deletions
BIN
docs/demo-screenshot.png
Normal file
BIN
docs/demo-screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
28
docs/example-nginx.conf
Normal file
28
docs/example-nginx.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue