Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian packaging updates #48

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- main
- test
- sts_fix_debian_packge
tags:
- 'v*.*.*'

Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
sudo apt update && sudo apt -y install make pkg-config rubygems && sudo gem install fpm

# Download corazawaf/coraza/coraza.conf for distribution
curl https://raw.githubusercontent.com/corazawaf/coraza/v2/master/coraza.conf-recommended > coraza.conf
curl https://raw.githubusercontent.com/corazawaf/coraza/v3.0.2/coraza.conf-recommended > coraza.conf

- name: Build binary
run: VERSION=${PACKAGE_VERSION} ARCH=${{ matrix.arch }} make
Expand Down
4 changes: 2 additions & 2 deletions contrib/coraza-spoa.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Description=Coraza WAF SPOA Daemon
Documentation=https://www.coraza.io

[Service]
ExecStart=/usr/bin/coraza-spoa -config-file=/etc/coraza-spoa/config.yaml
ExecStart=/usr/bin/coraza-spoa -config=/etc/coraza-spoa/config.yaml
WorkingDirectory=/
Restart=always
Type=exec
User=coraza-spoa
Group=coraza-spoa

# Hardening
## Hardening
AmbientCapabilities=
MountFlags=private

Expand Down
10 changes: 5 additions & 5 deletions doc/config/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ defaults
log global
option httplog
timeout client 1m
timeout server 1m
timeout connect 10s
timeout http-keep-alive 2m
timeout queue 15s
timeout tunnel 4h # for websocket
timeout server 1m
timeout connect 10s
timeout http-keep-alive 2m
timeout queue 15s
timeout tunnel 4h # for websocket

frontend test
mode http
Expand Down
Loading