From 40d4fdad9e8ce5872adf18100196fa77044642c1 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Sat, 28 Mar 2020 13:45:19 +0100 Subject: use a non root user to start nginx --- config/nginx.config | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 config/nginx.config (limited to 'config/nginx.config') diff --git a/config/nginx.config b/config/nginx.config deleted file mode 100644 index b519ee7..0000000 --- a/config/nginx.config +++ /dev/null @@ -1,14 +0,0 @@ -server { - server_name _; - listen 80 default_server; - listen [::]:80 default_server; - client_max_body_size 20M; - - root /var/www/mat2-web; - - location / { try_files $uri @yourapplication; } - location @yourapplication { - include uwsgi_params; - uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock; - } -} -- cgit v1.3