diff --git a/INSTALL.debian b/INSTALL.debian index 4e5a329f9..c26f9a765 100644 --- a/INSTALL.debian +++ b/INSTALL.debian @@ -91,7 +91,7 @@ sudo -u postgres createuser -s danbooru mkdir -p /var/log/www # Setup nginx -curl -s https://raw.github.com/ascarter/nginx-ubuntu-rvm/master/nginx > /etc/init.d/nginx +curl -s https://raw.github.com/r888888888/danbooru/master/script/install/init_d.templ > /etc/init.d/nginx chmod +x,g-w /etc/init.d/nginx update-rc.d -f nginx defaults mkdir -p /opt/nginx/conf/sites @@ -134,7 +134,7 @@ echo echo "**************************************************************" echo "* Danbooru has now been setup on this computer and should be *" echo "* accessible from the web. Go ahead and create an account. *" -echo "* The first account will automatically be made an admin.You *" +echo "* The first account will automatically be made an admin. You *" echo "* can edit the configuration files by editing *" echo "* /var/www/danbooru/shared/config/local_config and *" echo "* /var/www/danbooru/shared/config/database.yml *" diff --git a/script/install/nginx.danbooru.conf b/script/install/nginx.danbooru.conf index 53de37ac5..729414667 100644 --- a/script/install/nginx.danbooru.conf +++ b/script/install/nginx.danbooru.conf @@ -1,7 +1,7 @@ server { listen 80; server_name HOSTNAME; - root /var/www/danbooru/public; + root /var/www/danbooru/current/public; index index.html; access_log /var/log/www/danbooru.access.log; error_log /var/log/www/danbooru.error.log;