Compare commits

...

4 commits

Author SHA1 Message Date
f 59c7ea652c
Merge branch 'antifascista' of ssh://gitea.nulo.in:993/Sutty/containers-skel into antifascista
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline failed
2024-02-19 13:16:37 -03:00
f 74e4a85bf9
feat: update intensity data 2024-02-13 13:28:30 -03:00
f 2a72840be0
fix: 3.15 eol 2024-02-13 13:22:59 -03:00
f 397dff920a
fix: upgrade alpine 2024-02-13 13:22:45 -03:00
3 changed files with 6 additions and 3 deletions

View file

@ -20,8 +20,8 @@ steps:
event: "push"
matrix:
include:
- ALPINE_VERSION: "3.19.0"
ACCESS_LOG_VERSION: "0.5.5"
- ALPINE_VERSION: "3.19.1"
ACCESS_LOG_VERSION: "0.5.6"
NGINX_VERSION: "1.24.0-r14"
- ALPINE_VERSION: "3.18.4"
ACCESS_LOG_VERSION: "0.5.5"

View file

@ -5,7 +5,7 @@ MAINTAINER "f <f@sutty.nl>"
ARG NGINX_VERSION="1.24.0-r7"
ARG ACCESS_LOGS_FLAGS="--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json"
ARG ACCESS_LOG_VERSION="0.5.1"
ARG ACCESS_LOG_VERSION="0.5.6"
ENV ACCESS_LOGS_FLAGS=${ACCESS_LOGS_FLAGS}

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_country_iso_code":"$geoip2_data_country_iso_code","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;