dev/front/hdalab.conf
changeset 686 385e3a12ee27
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev/front/hdalab.conf	Thu Mar 15 23:52:11 2018 +0100
@@ -0,0 +1,25 @@
+resolver 127.0.0.11;
+
+# configuration of the server
+server {
+    # the port your site will be served on
+    listen      80;
+    # the domain name it will serve for
+    server_name hdalab.test; # substitute your machine's IP address or FQDN
+    charset     utf-8;
+
+    # max upload size
+    client_max_body_size 75M;   # adjust to taste
+
+    location /static {
+        alias /var/lib/hdalab/static;
+    }
+
+    set $upstream hdalab:8001;
+
+    # Finally, send all non-media requests to the Django server.
+    location / {
+        uwsgi_pass  $upstream;
+        include     uwsgi_params; # the uwsgi_params file you installed
+    }
+}