Skip to content

Commit

Permalink
add deployment for blocked.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jan 13, 2024
1 parent 1b96147 commit 4f66a17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/backup/
/cloud-archive-password.txt
/lock
/nginx/blocked.conf
/venv/
2 changes: 1 addition & 1 deletion deploy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gixy nginx/nginx.conf

[email protected]

rsync -rptcv --chmod=D755,F644 --delete --fsync --preallocate nginx/{nginx.conf,mime.types,snippets} $remote:/etc/nginx/
rsync -rptcv --chmod=D755,F644 --delete --fsync --preallocate nginx/{nginx.conf,mime.types,snippets,blocked.conf} $remote:/etc/nginx/
rsync -ptcv --chmod=D755,F644 --fsync --preallocate my.cnf.d/server.cnf $remote:/etc/my.cnf.d/server.cnf
rsync -rptcv --chmod=D755,F644 --fsync --preallocate php/{php.ini,php-fpm.d} $remote:/etc/php/
rsync -rptcv --chmod=D755,F644 --fsync --preallocate php-legacy/{php.ini,php-fpm.d} $remote:/etc/php-legacy/
Expand Down
1 change: 1 addition & 0 deletions setup
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

touch -a nginx/blocked.conf
python3 -m venv --clear venv
source venv/bin/activate
pip install --require-hashes --only-binary :all: -r requirements.txt

0 comments on commit 4f66a17

Please sign in to comment.