summaryrefslogtreecommitdiff
path: root/config/nginx.config
diff options
context:
space:
mode:
Diffstat (limited to 'config/nginx.config')
-rw-r--r--config/nginx.config14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/nginx.config b/config/nginx.config
new file mode 100644
index 0000000..b519ee7
--- /dev/null
+++ b/config/nginx.config
@@ -0,0 +1,14 @@
1server {
2 server_name _;
3 listen 80 default_server;
4 listen [::]:80 default_server;
5 client_max_body_size 20M;
6
7 root /var/www/mat2-web;
8
9 location / { try_files $uri @yourapplication; }
10 location @yourapplication {
11 include uwsgi_params;
12 uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock;
13 }
14}