test
This commit is contained in:
parent
bca25bc84d
commit
701d1aa607
@ -9,7 +9,9 @@
|
|||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
DocumentRoot "{{workingPath}}/frontend"
|
DocumentRoot "{{workingPath}}/frontend"
|
||||||
|
|
||||||
<Directory "{{workingPath}}/frontend">
|
<Directory "{{workingPath}}/frontend">
|
||||||
|
Require all granted
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteBase /
|
RewriteBase /
|
||||||
RewriteRule ^index\.html$ - [L]
|
RewriteRule ^index\.html$ - [L]
|
||||||
|
3
scripts/installnode.sh
Normal file
3
scripts/installnode.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
apt install node npm
|
@ -9,3 +9,5 @@ apache_vhost="$(cat ops/apache2/vhost.conf)"
|
|||||||
echo "$apache_vhost" | mo > /etc/apache2/sites-enabled/000-default.conf
|
echo "$apache_vhost" | mo > /etc/apache2/sites-enabled/000-default.conf
|
||||||
|
|
||||||
service apache2 restart
|
service apache2 restart
|
||||||
|
|
||||||
|
source ../installnode.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user