moved nginx logs to /data/logs
This commit is contained in:
@@ -124,5 +124,9 @@ EOF
|
||||
|
||||
touch /app/htpasswd
|
||||
|
||||
# make sure nginx can log
|
||||
mkdir -p /data/logs
|
||||
chown -R "${USERNAME}" /data/logs
|
||||
|
||||
echo starting nginx
|
||||
nginx
|
||||
|
||||
@@ -7,8 +7,6 @@ server {
|
||||
root /data/www;
|
||||
# server_name localhost;
|
||||
|
||||
#access_log /var/log/nginx/host.access.log main;
|
||||
|
||||
location / {
|
||||
index index.html index.htm;
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@ server {
|
||||
root /data/www;
|
||||
# server_name localhost;
|
||||
|
||||
#access_log /var/log/nginx/host.access.log main;
|
||||
|
||||
location / {
|
||||
index index.php index.html index.htm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user