diff --git a/gliders.nginx.conf b/gliders.nginx.conf index b97ec16b5e1532d35f37d3de645ca20197293619..70c152361c80c2f5ca9629308fa47e0add7bdba6 100644 --- a/gliders.nginx.conf +++ b/gliders.nginx.conf @@ -53,8 +53,8 @@ server { alias /var/gliders/logs; } - location /var/gliders/logs { - alias /var/gliders/logs; + location /static { + alias /var/gliders/static; } location @rewriteapp { @@ -112,8 +112,8 @@ server { alias /var/gliders/logs; } - location /var/gliders/logs { - alias /var/gliders/logs; + location /static { + alias /var/gliders/static; } location @rewriteapp { @@ -169,8 +169,8 @@ server { alias /var/gliders/logs; } - location /var/gliders/logs { - alias /var/gliders/logs; + location /static { + alias /var/gliders/static; } location @rewriteapp { diff --git a/install.sh b/install.sh index cdb0ffe03c9bbee113c9e7c481fc3916e3042f3a..287ac4800ce898fbc0c996fcce55f10e94d4b338 100644 --- a/install.sh +++ b/install.sh @@ -61,6 +61,11 @@ cp php-d-fpm.ini /etc/php.d/fpm.ini cp php-fpm-www.conf /etc/php-fpm.d/www.conf systemctl enable php-fpm +# Install NodeJS, NPM, Bower +yum install nodejs npm +npm install -g bower +npm install -g grunt-cli + # As for the webserver -- either apache or nginx... # nginx is nice and fast, apache gets better support from # CentOS etc.