Commit 2020d889 authored by HQ's avatar HQ
Browse files

Various improvements

parent ff5929f9
......@@ -88,5 +88,9 @@ echo "<Directory /var/discourse/>
Require all granted
</Directory>" >> /etc/apache2/apache2.conf
# Redirect to https
a2enmod rewrite
sed -i 's/DocumentRoot \/var\/www\/html/DocumentRoot \/var\/www\/html\nRewriteEngine On\nRewriteCond %{REQUEST_URI} !^\/.well-known\/\nRewriteRule (.*) https:\/\/%{HTTP_HOST}%{REQUEST_URI}/' /etc/apache2/sites-available/000-default.conf
# Change logo
perl -pi -e 's/images\/ubuntu-logo.png/tabs\/discourse\/discourse_icon.png/' /usr/share/webmin/stabile/index.cgi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment