Skip to content

Commit

Permalink
Debian packaging updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sts committed Jul 10, 2023
1 parent dd5eb86 commit 712034f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
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

0 comments on commit 712034f

Please sign in to comment.