Update INSTALL.debian, for Debian 9(stretch)

This commit is contained in:
nothink
2019-08-05 23:29:12 +09:00
parent b9bb5467b8
commit 72ceb484ce
5 changed files with 22 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
server {
listen 80;
server_name __hostname__;
root /var/www/danbooru/current/public;
root /var/www/danbooru2/current/public;
index index.html;
access_log off;
error_log off;
@@ -47,11 +47,12 @@ server {
location / {
try_files $uri @app_server;
}
error_page 404 /404.html;
error_page 500 502 503 504 /500.html;
}
upstream app_server {
server 127.0.0.1:9000;
# server 127.0.0.1:9000;
server unix:/tmp/.unicorn.sock
}