Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toowoxx/caddy2-confidentiality-index-plugin
Adds a confidentiality index to all pages
https://github.com/toowoxx/caddy2-confidentiality-index-plugin
Last synced: about 2 months ago
JSON representation
Adds a confidentiality index to all pages
- Host: GitHub
- URL: https://github.com/toowoxx/caddy2-confidentiality-index-plugin
- Owner: toowoxx
- License: apache-2.0
- Created: 2021-03-15T11:08:36.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T08:27:57.000Z (7 months ago)
- Last Synced: 2024-06-20T06:30:26.083Z (6 months ago)
- Language: HTML
- Homepage:
- Size: 302 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Confidentiality Plugin for Caddy
Adds a confidentiality index to all pages.
![image](https://user-images.githubusercontent.com/80681087/111144388-4df65300-8587-11eb-8a26-774060ad87a2.png)
![image](https://user-images.githubusercontent.com/80681087/111144458-64041380-8587-11eb-95f2-9209f2e2ac05.png)## Config
Add `order confidentiality after encode` to root level and
add `confidentiality ` to the servers you want to have the index on.**Example:**
```
{
order confidentiality after encode
}http://localhost:2015 {
confidentiality internal
root * www/
file_server
}
```**Supported classifications:**
- internal
- confidential
- secret## Testing
You can test locally using following command:
```
xcaddy run -config test/Caddyfile -adapter caddyfile
```You may need to install/update xcaddy first:
```
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
```# License
```
Copyright 2021-2024 Toowoxx IT GmbH
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```