tBKwtWS 6 лет назад
Родитель
Сommit
06762d3fd8
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      website_nginx.conf
  2. 2 2
      website_uwsgi.ini

+ 2 - 2
website_nginx.conf

@@ -1,6 +1,6 @@
 # Upstream component nginx needs to connect to.
 upstream django {
-    server unix:///opt/h0v1n8-website-env/website/website/webgui.sock; # For production file socket
+    server unix:///opt/h0v1n8-website-env/website/website.sock; # For production file socket
     #server 127.0.0.1:8001; # Web port socket for use with uwsgi-hello-world-test.py
 }
 
@@ -27,6 +27,6 @@ server {
     # Finally, send all non-media requests to the Django server.
     location / {
         uwsgi_pass  django;
-        include     /opt/rotbot-env/uwsgi_params; # the uwsgi_params file you installed
+        include     /opt/h0v1n8-website-env/uwsgi_params; # the uwsgi_params file you installed
     }
 }

+ 2 - 2
website_uwsgi.ini

@@ -4,7 +4,7 @@ binary-path = /opt/h0v1n8-website-env/bin/uwsgi
 # the base directory (full path)
 chdir           = /opt/h0v1n8-website-env/website
 # Django's wsgi file
-module          = webgui.wsgi
+module          = website.wsgi
 # the virtualenv (full path)
 home            = /opt/h0v1n8-website-env/
 
@@ -14,7 +14,7 @@ master          = true
 # maximum number of worker processes
 processes       = 10
 # the socket (use the full path to be safe
-socket          = /opt/h0v1n8-env/website/webgui.sock
+socket          = /opt/h0v1n8-website-env/website/website.sock
 # ... with appropriate permissions - may be needed
 chmod-socket    = 666
 # clear environment on exit