Skip to content
Merged
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
2 changes: 1 addition & 1 deletion compose/gen-config-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export etcd_url='http://192.17.5.10:2379'

unamestr=`uname`

wget https://raw.githubusercontent.com/apache/apisix/master/conf/config-default.yaml
wget https://raw.githubusercontent.com/apache/apisix/master/conf/config-default.yaml -o config.yaml

if [[ "$unamestr" == 'Darwin' ]]; then
sed -i '' -e ':a' -e 'N' -e '$!ba' -e "s/allow_admin[a-z: #\/._]*\n\( *- [0-9a-zA-Z: #\/._',]*\n*\)*//g" config.yaml
Expand Down