Compare commits

..

4 commits

Author SHA1 Message Date
f
45092d15ae feat: upgrade to access_log v0.4.0 and enable syslog by default
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-21 19:20:27 -03:00
f
773652de68 Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2023-01-21 19:16:07 -03:00
f
dcf07f90e7 refactor: use strings 2023-01-14 16:09:32 -03:00
f
4aa380ee62 feat: alpine 3.17.1 2023-01-14 16:08:15 -03:00
2 changed files with 17 additions and 14 deletions

View file

@ -1,23 +1,23 @@
pipeline: pipeline:
publish: publish:
image: plugins/docker image: "plugins/docker"
settings: settings:
registry: registry.nulo.in registry: "registry.nulo.in"
username: sutty username: "sutty"
repo: registry.nulo.in/sutty/nginx repo: "registry.nulo.in/sutty/nginx"
tags: tags:
- ${ALPINE_VERSION} - "${ALPINE_VERSION}"
- latest - "latest"
build_args: build_args:
- ALPINE_VERSION=${ALPINE_VERSION} - "ALPINE_VERSION=${ALPINE_VERSION}"
- BASE_IMAGE=registry.nulo.in/sutty/monit - "BASE_IMAGE=registry.nulo.in/sutty/monit"
secrets: secrets:
- docker_password - "docker_password"
when: when:
branch: antifascista branch: "antifascista"
event: push event: "push"
matrix: matrix:
ALPINE_VERSION: ALPINE_VERSION:
- 3.17.0 - "3.17.1"
- 3.16.3 - "3.16.3"
- 3.15.6 - "3.15.6"

View file

@ -0,0 +1,3 @@
log_format access_logd escape=json '{"host":"$host","msec":$msec,"server_protocol":"$server_protocol","request_method":"$request_method","request_completion":"$request_completion","uri":"$uri","query_string":"$query_string","status":$status,"sent_http_content_type":"$sent_http_content_type","sent_http_content_encoding":"$sent_http_content_encoding","sent_http_etag":"$sent_http_etag","sent_http_last_modified":"$sent_http_last_modified","http_accept":"$http_accept","http_accept_encoding":"$http_accept_encoding","http_accept_language":"$http_accept_language","http_pragma":"$http_pragma","http_cache_control":"$http_cache_control","http_if_none_match":"$http_if_none_match","http_dnt":"$http_dnt","http_user_agent":"$http_user_agent","http_origin":"$http_origin","http_referer":{"origin":"$http_origin","referrer":"$http_referer","policy":"origin-when-cross-origin"},"request_time":$request_time,"bytes_sent":$bytes_sent,"body_bytes_sent":$body_bytes_sent,"request_length":$request_length,"http_connection":"$http_connection","pipe":"$pipe","connection_requests":$connection_requests,"geoip2_data_country_name":"$geoip2_data_country_name","geoip2_data_city_name":"$geoip2_data_city_name","ssl_server_name":"$ssl_server_name","ssl_protocol":"$ssl_protocol","ssl_early_data":"$ssl_early_data","ssl_session_reused":"$ssl_session_reused","ssl_curves":"$ssl_curves","ssl_ciphers":"$ssl_ciphers","ssl_cipher":"$ssl_cipher","sent_http_x_xss_protection":"$sent_http_x_xss_protection","sent_http_x_frame_options":"$sent_http_x_frame_options","sent_http_x_content_type_options":"$sent_http_x_content_type_options","sent_http_strict_transport_security":"$sent_http_strict_transport_security","nginx_version":"$nginx_version","pid":"$pid","remote_user":"$remote_user","request_uri":"$request_uri"}';
access_log syslog:server=unix:/tmp/access_log.socket,nohostname access_logd;