unknown 6 years ago
parent
commit
564bca4ee7
3 changed files with 3 additions and 3 deletions
  1. 1 1
      deployment/gitwebhook.conf
  2. 1 1
      deployment/gunicorn.conf
  3. 1 1
      deployment/gitwebhook.ini

+ 1 - 1
deployment/gitwebhook.conf

@@ -1,6 +1,6 @@
 server {
     listen 80;
-    server_name 47:101.46.124:3389;
+    server_name www.shenggh.top;
     access_log /data/log/nginx/test.nginx.error.log main;
 
     proxy_redirect off;

+ 1 - 1
deployment/gunicorn.conf

@@ -11,7 +11,7 @@ timeout = 60
 
 daemon = False
 pidfile = "/var/run/%s.pid" % APP_NAME
-chdir = "/root/project/test/"
+chdir = "/root/project/test/project"
 
 errorlog = "/data/log/web/%s.log" % APP_NAME
 loglevel = "info"

+ 1 - 1
deployment/gitwebhook.ini

@@ -1,4 +1,4 @@
-[program:githook]
+[program:test]
 environment = CONFIG_NAME="qcloud"
 directory = /root/project/test/
 command = /usr/bin/gunicorn -c deployment/gunicorn.conf views:app