aboutsummaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf
index 6f9fafa..38b31df 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -33,6 +33,8 @@ http {
uwsgi_pass app:9200;
}
+ # Pass through the static directory
+ # This should match whatever is in your config file
location /static {
alias /var/www;
}
@@ -40,6 +42,11 @@ http {
alias /var/www/static/robots.txt;
}
+
+ # Optionally change the log path.
+ # access_log /var/log/nginx/dispatch.example.com/access.log;
+ # error_log /var/log/nginx/dispatch.example.com/error.log;
+
}
include conf.d/*.conf;