-
-
Notifications
You must be signed in to change notification settings - Fork 629
Base context path can be changed (#88) #1424
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
d33479d
10d5114
ab21f58
df91cb2
fc76566
4869fea
0572514
6345796
862613e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -267,6 +267,7 @@ If you want to test it locally, see [Docker](#docker). | |
| | `ui.dashboard-subheading` | Dashboard description between header and endpoints | `Monitor the health of your endpoints in real-time` | | ||
| | `ui.header` | Header at the top of the dashboard. | `Gatus` | | ||
| | `ui.logo` | URL to the logo to display. | `""` | | ||
| | `ui.base` | `href` attribute of the HTML `<base>` tag. Use this if you want to host Gatus on a subpath (e.g. `/status/`). Has to end with '/'. | `/` | | ||
|
||
| | `ui.link` | Link to open when the logo is clicked. | `""` | | ||
| | `ui.buttons` | List of buttons to display below the header. | `[]` | | ||
| | `ui.buttons[].name` | Text to display on the button. | Required `""` | | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| networks: | ||
| caddy_network: | ||
| name: gatus_proxy_network | ||
|
|
||
| services: | ||
| caddy: | ||
| networks: | ||
| - caddy_network | ||
| image: caddy:latest | ||
| container_name: gatus_proxy | ||
| ports: | ||
| - 8080:8080 | ||
| configs: | ||
| - source: caddyfile | ||
| target: /etc/caddy/Caddyfile | ||
| gatus: | ||
| networks: | ||
| - caddy_network | ||
| image: twinproduction/gatus:latest | ||
| container_name: gatus_behind_proxy | ||
|
|
||
| volumes: | ||
| - ./config.yml:/config/02_config.yaml | ||
| environment: | ||
| - GATUS_CONFIG_PATH=/config | ||
| configs: | ||
| - source: gatus_config_ext | ||
| target: /config/01_config.yaml | ||
|
|
||
| configs: | ||
| gatus_config_ext: | ||
| content: | | ||
| ui: | ||
| base: /gatus/ | ||
| caddyfile: | ||
| content: | | ||
| { | ||
| auto_https off | ||
| http_port 8080 | ||
| } | ||
|
|
||
| http://localhost:8080 { | ||
| handle_path /gatus* { | ||
| reverse_proxy http://gatus_behind_proxy:8080 | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.