Fixed nginx conf
This commit is contained in:
parent
888fd24c74
commit
3c05906c20
@ -42,6 +42,7 @@ echo "Installing nginx config to /etc/nginx/conf.d"
|
||||
cp paste.conf /etc/nginx/conf.d/paste.conf
|
||||
|
||||
echo "Starting paste service"
|
||||
systemctl daemon-reload
|
||||
systemctl start paste.service
|
||||
|
||||
echo "Restarting nginx service"
|
||||
|
||||
@ -6,6 +6,6 @@ server {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_pass http://unix:/home/ben/scripts/paste/paste/paste.sock;
|
||||
proxy_pass http://unix:WORKINGDIR/paste.sock;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user