aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_django_app.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/templates/vhost_django_app.conf')
-rw-r--r--modules/apache/templates/vhost_django_app.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/apache/templates/vhost_django_app.conf b/modules/apache/templates/vhost_django_app.conf
new file mode 100644
index 00000000..fffd5321
--- /dev/null
+++ b/modules/apache/templates/vhost_django_app.conf
@@ -0,0 +1,12 @@
+<VirtualHost *:80>
+ ServerName <%= name %>
+ # Serve static content directly
+ DocumentRoot /dev/null
+
+ WSGIScriptAlias / <%= wsgi_dir%>/<%= name %>.wsgi
+
+ <Location />
+ Allow from all
+ </Location>
+</VirtualHost>
+