https://github.com/bean5/caddy-stub-redirect
https://github.com/bean5/caddy-stub-redirect
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bean5/caddy-stub-redirect
- Owner: bean5
- Created: 2025-02-06T00:09:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T00:47:08.000Z (over 1 year ago)
- Last Synced: 2025-03-25T03:16:02.053Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caddy Stub Redirect
This project demonstrates a simple use-case scenario for caddy. The use-case is to provide a simple 200 ok response.
For example, sometimes a DevOps team creates an instance for use, but does not know what to populate it with. That makes monitoring it difficult at first. This project provides a small service that can be monitored until a real service is put in place.
## Use Cases
Return one of the following:
- ok
- blank page
- html page with automatic redirect (with and without javascript)
- permanent redirect
- temporary redirect
## Example Cases
A server is being deprecated. A service is replaced with this one to either provide nothing or be friendly and provide a message and redirect.
## Requirements
The only requirement is Docker. You can achieve the same results by installing caddy directly.
## Benefits
DevOps (and other teams) can get something running on the box quickly and establish node monitors earlier.