Update instructions for production deployment
This commit is contained in:
parent
293bc48eae
commit
60389ae1b0
4 changed files with 11 additions and 9 deletions
|
|
@ -43,7 +43,7 @@ server {
|
|||
}
|
||||
|
||||
location / {
|
||||
uwsgi_pass unix:///var/www/photos/photos21/photos21.sock;
|
||||
uwsgi_pass unix:///var/run/uwsgi/app/uwsgi_photos/socket;
|
||||
include /etc/nginx/uwsgi_params;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ plugin = python3
|
|||
master = true
|
||||
# maximum number of worker processes
|
||||
processes = 10
|
||||
# the socket (use the full path to be safe
|
||||
socket = /var/www/photos/photos21/photos21.sock
|
||||
# ... with appropriate permissions - may be needed
|
||||
# socket with appropriate permissions in /var/run/uwsgi/app/uwsgi_photos/socket
|
||||
chmod-socket = 664
|
||||
# clear environment on exit
|
||||
vacuum = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue