Skip to content

Commit

Permalink
Release: nginx allow & deny rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Aug 6, 2024
1 parent ee2fd80 commit 9c73bdb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
done
- name: Remove some files to avoid publishing to GitHub release
run: rm -rf ./output/*.{gz,zip} ./output/{clash,dat,srs,surge,text}
run: rm -rf ./output/*.{gz,zip} ./output/{clash,dat,nginx,srs,surge,text}

- name: Upload files to GitHub release
uses: svenstaro/upload-release-action@v2
Expand Down
20 changes: 20 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,26 @@
"type": "text",
"action": "output"
},
{
"type": "text",
"action": "output",
"args": {
"outputDir": "./output/nginx/allow",
"outputExtension": ".conf",
"addPrefixInLine": "allow ",
"addSuffixInLine": ";"
}
},
{
"type": "text",
"action": "output",
"args": {
"outputDir": "./output/nginx/deny",
"outputExtension": ".conf",
"addPrefixInLine": "deny ",
"addSuffixInLine": ";"
}
},
{
"type": "clashRuleSetClassical",
"action": "output"
Expand Down

0 comments on commit 9c73bdb

Please sign in to comment.