Compare commits
2 Commits
main
...
80f0298ac1
| Author | SHA1 | Date | |
|---|---|---|---|
| 80f0298ac1 | |||
| a3076687c0 |
@@ -3,7 +3,7 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: generate-tags
|
- name: generate-tags
|
||||||
image: ghcr.io/abh/woodpecker-docker-tags-plugin:sha-86e52ce
|
image: ghcr.io/dvjn/woodpecker-docker-tags-plugin
|
||||||
settings:
|
settings:
|
||||||
tags: |
|
tags: |
|
||||||
branch
|
branch
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -19,22 +19,6 @@ To get a shell in the container run
|
|||||||
|
|
||||||
And then run `curl -H 'Host: i.perl.org' localhost` there.
|
And then run `curl -H 'Host: i.perl.org' localhost` there.
|
||||||
|
|
||||||
## Logging
|
|
||||||
|
|
||||||
Access logs are sent to stdout and error logs to stderr, making them
|
|
||||||
available to the container runtime's log collection.
|
|
||||||
|
|
||||||
The Apache configuration supports a `dontlog` environment variable. When
|
|
||||||
set on a request, that request is excluded from the access log. This is
|
|
||||||
useful for health check endpoints that would otherwise fill the logs.
|
|
||||||
|
|
||||||
To use it, add a `SetEnvIf` directive in your site configuration:
|
|
||||||
|
|
||||||
SetEnvIf Request_URI "^/ok.txt$" dontlog
|
|
||||||
|
|
||||||
This allows `/ok.txt` to serve as a health check endpoint without
|
|
||||||
generating access log entries.
|
|
||||||
|
|
||||||
## Production image
|
## Production image
|
||||||
|
|
||||||
The "production image" is at harbor.ntppool.org/library/static-web:latest
|
The "production image" is at harbor.ntppool.org/library/static-web:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user