Configure nginx to emit logstash logs for access logs. Move all nginx config to a conf subdir. Rework nginx config to share common parts.
This commit is contained in:
parent
c13654bb52
commit
2b6c9149e8
20 changed files with 148 additions and 165 deletions
|
@ -19,7 +19,7 @@ sudo gdebi --n binary_dependencies/*.deb
|
|||
running:
|
||||
|
||||
```
|
||||
sudo mkdir -p /mnt/logs/ && sudo chown $USER /mnt/logs/ && sudo /usr/local/nginx/sbin/nginx -c `pwd`/nginx.conf
|
||||
sudo mkdir -p /mnt/logs/ && sudo chown $USER /mnt/logs/ && sudo /usr/local/nginx/sbin/nginx -c `pwd`/conf/nginx.conf
|
||||
sudo mkdir -p /mnt/logs/ && sudo chown $USER /mnt/logs/ && STACK=prod gunicorn -c gunicorn_config.py application:application
|
||||
```
|
||||
|
||||
|
|
Reference in a new issue