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
|
sudo make install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir /vagrant/logs
|
mkdir /vagrant/storage/logs/system
|
||||||
/vagrant/vagrant/copy-and-restart-configs.sh
|
/vagrant/vagrant/copy-and-restart-configs.sh
|
||||||
|
|
||||||
cd /vagrant
|
cd /vagrant
|
||||||
|
|
|
@ -74,7 +74,7 @@ query_cache_size = 16M
|
||||||
#
|
#
|
||||||
# Error log - should be very few entries.
|
# 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
|
# Here you can see queries with especially long duration
|
||||||
#log_slow_queries = /var/log/mysql/mysql-slow.log
|
#log_slow_queries = /var/log/mysql/mysql-slow.log
|
||||||
|
|
|
@ -9,8 +9,8 @@ server {
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
|
|
||||||
server_name pony.fm.local api.pony.fm.local;
|
server_name pony.fm.local api.pony.fm.local;
|
||||||
access_log /vagrant/logs/nginx-access.log;
|
access_log /vagrant/storage/logs/system/nginx-access.log;
|
||||||
error_log /vagrant/logs/nginx-error.log;
|
error_log /vagrant/storage/logs/system/nginx-error.log;
|
||||||
root /vagrant/public;
|
root /vagrant/public;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
@ -49,4 +49,4 @@ server {
|
||||||
internal;
|
internal;
|
||||||
alias /vagrant-files/;
|
alias /vagrant-files/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue