Change to tmp instead of var for guestbook
This commit is contained in:
parent
093b5cc69f
commit
14c11e131b
@ -23,11 +23,6 @@ then
|
|||||||
vim ~/.config/systemd/user/guestbookd.service
|
vim ~/.config/systemd/user/guestbookd.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# /var/run socket
|
|
||||||
sudo mkdir /var/run/guestbookd
|
|
||||||
user=$USER
|
|
||||||
sudo chown -R $user:$user /var/run/guestbookd
|
|
||||||
|
|
||||||
# NGINX
|
# NGINX
|
||||||
nginx_config="
|
nginx_config="
|
||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
@ -49,7 +44,7 @@ http {
|
|||||||
|
|
||||||
guestbook_config="
|
guestbook_config="
|
||||||
upstream soc {
|
upstream soc {
|
||||||
server unix:/var/run/guestbookd/guestbookd.sock;
|
server unix:/tmp/guestbookd.sock;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Loading…
Reference in New Issue
Block a user