diff options
| author | Kamen Mladenov <kamen.d.mladenov@protonmail.com> | 2021-06-18 13:42:07 +0000 |
|---|---|---|
| committer | Kamen Mladenov <kamen.d.mladenov@protonmail.com> | 2021-06-18 13:42:07 +0000 |
| commit | 33ac827ee678a1db728a2757cb3db686ecaf919d (patch) | |
| tree | b2bc88a456e9093e995ebbb40847916a5211ba69 /apache-site.conf | |
| parent | 6b4bb4e4f8f64973b8efd1b01c6e198cb6324b09 (diff) | |
| download | templates-33ac827ee678a1db728a2757cb3db686ecaf919d.tar templates-33ac827ee678a1db728a2757cb3db686ecaf919d.tar.gz templates-33ac827ee678a1db728a2757cb3db686ecaf919d.zip | |
Added apache site configuration file
Diffstat (limited to 'apache-site.conf')
| -rw-r--r-- | apache-site.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/apache-site.conf b/apache-site.conf new file mode 100644 index 0000000..f26126e --- /dev/null +++ b/apache-site.conf @@ -0,0 +1,27 @@ +<VirtualHost *:80> + ServerName site.com + DocumentRoot "/var/www/site" + + <Directory "/var/www/site"> + Options MultiViews FollowSymlinks + AllowOverride all + Order allow,deny + Allow from all + </Directory> + + ErrorDocument 404 /404.html +</VirtualHost> + +<VirtualHost *:80> + ServerName site.com + + ProxyPass "/styles.css" ! + Alias "/styles.css" "/home/root/styles.css" + <Directory "/home/root/"> + Require all granted + </Directory> + + ProxyPreserveHost On + ProxyPass / http://localhost:5000/ + ProxyPassReverse / http://localhost:5000/ +</VirtualHost> |
