Skip to content

Commit

Permalink
correct paths
Browse files Browse the repository at this point in the history
  • Loading branch information
interrogator committed Apr 20, 2020
1 parent c0da829 commit bbe8c0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buzzword/buzzword_nginx.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# the upstream component nginx needs to connect to
upstream django {
# server unix:///path/to/your/mysite/mysite.sock; # for a file socket
# server unix:///usr/share/buzzword/buzzword/mysite.sock; # for a file socket
server 127.0.0.1:8001; # for a web port socket (we'll use this first)
}

Expand All @@ -17,16 +17,16 @@ server {

# Django media
location /media {
alias /path/to/your/mysite/media; # your Django project's media files - amend as required
alias /usr/share/buzzword/buzzword/media; # your Django project's media files - amend as required
}

location /static {
alias /path/to/your/mysite/static; # your Django project's static files - amend as required
alias /usr/share/buzzword/buzzword/static; # your Django project's static files - amend as required
}

# Finally, send all non-media requests to the Django server.
location / {
uwsgi_pass django;
include /path/to/your/mysite/uwsgi_params; # the uwsgi_params file you installed
include /usr/share/buzzword/buzzword/uwsgi_params; # the uwsgi_params file you installed
}
}

0 comments on commit bbe8c0f

Please sign in to comment.