浏览代码

[hauk] Fix nginx location

Colin Powell 3 年之前
父节点
当前提交
6c02f9ee5e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ansible/roles/hauk/files/nginx.conf

+ 2 - 2
ansible/roles/hauk/files/nginx.conf

@@ -1,5 +1,5 @@
 location /hauk {
-    root   /var/www/hauk;
+    root   /var/www/;
     index  index.html index.htm;
 }
 
@@ -7,6 +7,6 @@ location ~ \.php$ {
     root   /var/www;
     fastcgi_pass   127.0.0.1:9000;
     fastcgi_index  index.php;
-    fastcgi_param  SCRIPT_FILENAME  /var/www/hauk$fastcgi_script_name;
+    fastcgi_param  SCRIPT_FILENAME  /var/www$fastcgi_script_name;
     include        fastcgi_params;
 }