Bläddra i källkod

[hauk] Fix nginx location

Colin Powell 3 år sedan
förälder
incheckning
6c02f9ee5e
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;
 }