More documentation fixes
Using the web based markdown editor for this to get right
This commit is contained in:
parent
72f0e095ca
commit
ccc7165d1b
@ -7,7 +7,9 @@
|
||||
|
||||
* Install uwsgi
|
||||
|
||||
```
|
||||
sudo pkg install www/uwsgi
|
||||
```
|
||||
|
||||
* Clone this repository
|
||||
|
||||
@ -17,16 +19,20 @@
|
||||
|
||||
* Use the following for configuring uwsgi in rc.conf
|
||||
|
||||
```
|
||||
sudo sysrc uwsgi\_enable="YES"
|
||||
sudo sysrc uwsgi\_profiles="jail2ban\_pf"
|
||||
sudo sysrc uwsgi\_jail2ban\_pf\_flags="-L -M --uid \_jail2ban --python-path /opt/jail2ban-pf --wsgi-file /opt/jail2ban-pf/wsgi.py --stats 127.0.0.1:9191 --socket 127.0.0.1:3031 --chdir /var/empty --callable app --manage-script-name"
|
||||
```
|
||||
|
||||
### jail2ban
|
||||
|
||||
* Configure <installation root>/instance/config.py
|
||||
|
||||
```
|
||||
SECRET\_KEY = os.urandom(32).hex()
|
||||
AUTHFILE = '/usr/local/etc/jail2ban-pf-users.txt'
|
||||
```
|
||||
|
||||
### nginx
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user