mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-27 15:27:58 +01:00
Moved nginx's and MySQL's logs into the "storage" directory.
This commit is contained in:
parent
86a3248a7c
commit
80eeaa2947
5 changed files with 5 additions and 5 deletions
|
@ -23,7 +23,7 @@ else
|
|||
sudo make install
|
||||
fi
|
||||
|
||||
mkdir /vagrant/logs
|
||||
mkdir /vagrant/storage/logs/system
|
||||
/vagrant/vagrant/copy-and-restart-configs.sh
|
||||
|
||||
cd /vagrant
|
||||
|
|
|
@ -74,7 +74,7 @@ query_cache_size = 16M
|
|||
#
|
||||
# Error log - should be very few entries.
|
||||
#
|
||||
log_error = /vagrant/logs/mysql-error.log
|
||||
log_error = /vagrant/storage/logs/system/mysql-error.log
|
||||
#
|
||||
# Here you can see queries with especially long duration
|
||||
#log_slow_queries = /var/log/mysql/mysql-slow.log
|
||||
|
|
|
@ -9,8 +9,8 @@ server {
|
|||
gzip_vary on;
|
||||
|
||||
server_name pony.fm.local api.pony.fm.local;
|
||||
access_log /vagrant/logs/nginx-access.log;
|
||||
error_log /vagrant/logs/nginx-error.log;
|
||||
access_log /vagrant/storage/logs/system/nginx-access.log;
|
||||
error_log /vagrant/storage/logs/system/nginx-error.log;
|
||||
root /vagrant/public;
|
||||
|
||||
location / {
|
||||
|
|
Loading…
Reference in a new issue