This commit is contained in:
2021-01-23 01:19:53 -05:00
parent 2238339553
commit 6cc1f8efda
6 changed files with 1110 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Worked!</title>
</head>
<body>
<center>
<h1>If you see this, it worked!</h1>
</center>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
<VirtualHost *:80>
# ServerAdmin webmester@bytedev.co
ServerName {{domain}}
<IfModule mod_expires.c>
<FilesMatch "\.(jpe?g|png|gif|js|css)$">
ExpiresActive On
ExpiresDefault "access plus 1 week"
</FilesMatch>
</IfModule>
DocumentRoot "{{workingPath}}/frontend"
<Directory "{{workingPath}}/frontend">
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</Directory>
</VirtualHost>
Executable
+1061
View File
File diff suppressed because it is too large Load Diff
+6
View File
@@ -0,0 +1,6 @@
source ../lib/mo
apt install -y apache2
apache_vhost="$(cat ops/apache2/vhost.conf)"
echo "$apache_vhost" | mo > /etc/apache2/sites-enabled/000-default.conf
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ../lib/mo
apt install -y apache2
apache_vhost="$(cat ops/apache2/vhost.conf)"
echo "$apache_vhost" | mo > /etc/apache2/sites-enabled/000-default.conf
+2
View File
@@ -0,0 +1,2 @@
name="Billy"
age="22"