This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASE_URL=https://localhost:8081/auth | |
CLIENT_ID=curl-test | |
CLIENT_SECRET= | |
USERNAME= | |
PASSWORD= | |
REALM=validation-test | |
OTP_CODE=027253 | |
# OpenID Access Token via "Resource Owner Password Credentials Grant" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains only partial paths to match on | |
# This file should reside in the same directory as the haproxy.cfg simply due to the way it is configured in the sample snippet-but they can go anywhere in the /etc/haproxy directory | |
/my-partial- https://subdomain3.mydomain.com/my-new-full-path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-07-07 15:37:08 #28448(normal) <0bb87a>; | |
task; lua_task_insert_result_common: symbol insertion issue: unknown symbol RSPAMD_RULE_XXXX; trace: | |
[1]:{/usr/share/rspamd/plugins/multimap.lua:592 - insert_results [Lua]}; | |
[2]:{/usr/share/rspamd/plugins/multimap.lua:621 - callback [Lua]}; | |
[3]:{/usr/share/rspamd/plugins/multimap.lua:444 - cb [Lua]}; | |
[4]:{/usr/share/rspamd/lualib/lua_maps.lua:223 - get_key [Lua]}; | |
[5]:{/usr/share/rspamd/plugins/multimap.lua:491 - match_element [Lua]}; | |
[6]:{/usr/share/rspamd/plugins/multimap.lua:640 - match_rule [Lua]}; | |
[7]:{/usr/share/rspamd/plugins/multimap.lua:762 - match_content [Lua]}; | |
[8]:{/usr/share/rspamd/plugins/multimap.lua:918 - process_func [Lua]}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Proof of concept for a HAProxy maintenance mode | |
# | |
# | |
# Control the maintenance page during runtime using the stats socket: | |
# | |
# To put the whole site in maintenance mode (for all IPs): | |
# > add acl #0 0.0.0.0/0 | |
# | |
# To exclude your own ip, so you are able to test things out: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright 2022, Stefan Schlesinger | |
# | |
# Coraza Core Ruleset Downloader | |
# - download, manage and activate local copies of CRS versions | |
# | |
# Usage: | |
# coraza-ruleloader 4.0.0-rc1 | |
# coraza-ruleloader 4.0.0-rc1 /etc/coraza | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/clustercheck.socket | |
[Unit] | |
Description=MySQL Clustercheck Socket | |
[Socket] | |
ListenStream=9200 | |
Accept=true | |
[Install] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask_args appdir: "/Applications" | |
tap "homebrew/cask" | |
tap "homebrew/cask-fonts" | |
brew "ack" | |
brew "curl" | |
brew "git" | |
brew "gnupg" | |
brew "jq" | |
brew "mas" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am sts on github. | |
* I am sschlesi (https://keybase.io/sschlesi) on keybase. | |
* I have a public key ASAV9NSsFHu01baGfgmWptTbljOwbe3XnM8Ixui27GnkYAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
export BUNDLE_GEMFILE=/usr/share/app/Gemfile | |
export BUNDLE_PATH=/usr/share/app/vendor | |
unset BUNDLE_IGNORE_CONFIG | |
#Test: bundle install --verbose --deployment | |
exec /usr/bin/ruby -rbundler/setup /usr/share/app/bin/app.rb $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
distribution=$distribution | |
export REPOS=$distribution | |
export DIST=$distribution | |
export USE_FREIGHT=true | |
export FREIGHT_BASE=/srv/freight | |
export FREIGHT_REPOSITORY=managed | |
export KEY_ID=DEADBEEF # please adjust, or edit /etc/freight.conf | |
/usr/bin/build-and-provide-package | |
# Creates: |
NewerOlder