Bläddra i källkod

更新正式 nginx 配置

abiao 5 år sedan
förälder
incheckning
8679ba561b
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      go/gopath/src/fohow-statement-api/nginx/ngx_prod_config

+ 3 - 3
go/gopath/src/fohow-statement-api/nginx/ngx_prod_config

@@ -7,13 +7,13 @@ upstream rungobackend {
 server {
     listen       80;
     server_name  ostateapi.hiwavo.com;
-    access_log  /home/www/fohow/statement_api/go/gopath/src/fohow_statement_api/logs/ngx_access.log main;
-    error_log   /home/www/fohow/statement_api/go/gopath/src/fohow_statement_api/logs/ngx_error.log;
+    access_log  /home/www/fohow/statement_api/go/gopath/src/fohow-statement-api/logs/ngx_access.log main;
+    error_log   /home/www/fohow/statement_api/go/gopath/src/fohow-statement-api/logs/ngx_error.log;
     location /report/ {
       allow 8.129.187.89;
       allow 47.52.141.54;
       deny all;
-      alias /home/www/fohow/statement_api/go/gopath/src/fohow_statement_api/logs/goaccess/html/;
+      alias /home/www/fohow/statement_api/go/gopath/src/fohow-statement-api/logs/goaccess/html/;
     }
     location =/MP_verify_oA3QuVJuxLN0Z3D2.txt {
       root /home/www/fohow/statement_api;