Skip to content

Instantly share code, notes, and snippets.

@ademola25
Created August 17, 2018 08:06
Show Gist options
  • Save ademola25/d124f75cfd75d087429b063aa19099a2 to your computer and use it in GitHub Desktop.
Save ademola25/d124f75cfd75d087429b063aa19099a2 to your computer and use it in GitHub Desktop.
catalog.conf
<VirtualHost *:80>
ServerName 18.184.157.123
ServerAdmin ubuntu@18.184.157.123
WSGIScriptAlias / /var/www/catalog/catalog.wsgi
<Directory /var/www/catalog/catalog/>
Require all granted
</Directory>
Alias /static /var/www/catalog/catalog/static
<Directory /var/www/catalog/catalog/static/>
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment