Commit 2179b749 authored by Marco Marinello's avatar Marco Marinello

Use tabs

parent b9fbf713
......@@ -39,17 +39,17 @@ class Command(BaseCommand):
def gen_vhost(self, school):
return f"""<VirtualHost *:443>
ServerName {school.external_host}
ServerAdmin webmaster@{school.external_host}
DocumentRoot /var/www/html
\tServerName {school.external_host}
\tServerAdmin webmaster@{school.external_host}
\tDocumentRoot /var/www/html
Include /etc/apache2/ssl.conf
\tInclude /etc/apache2/ssl.conf
SSLProxyEngine on
ProxyVia on
ProxyPass / {school.internal_host}
ProxyPassReverse / {school.internal_host}
ProxyPreserveHost on
\tSSLProxyEngine on
\tProxyVia on
\tProxyPass / {school.internal_host}
\tProxyPassReverse / {school.internal_host}
\tProxyPreserveHost on
</VirtualHost>
"""
......
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