From 2a296035d3d4730bfd83fd224bb057e8d60a48e4 Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 23 Jan 2020 03:45:46 +0000 Subject: repilicated actual nginx.conf --- nginx.example.conf | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/nginx.example.conf b/nginx.example.conf index d2899f4..64b54e5 100644 --- a/nginx.example.conf +++ b/nginx.example.conf @@ -1,17 +1,18 @@ http{ server { - server_name dyn.localhost; - index index.html; - location = /favicon.ico { - root /srv/www; + server_name domain.com; + location = /minimun { + return 301 https://$server_name/minimun } - location ~ ^/(|index.html)$ { - root /root/minimun/www; + location = /minimun/ { + root /home/minimun/minimun/www/; + try_files /index.html =404; } - location / { + location /minimun { + gzip off; include uwsgi_params; uwsgi_modifier1 9; - uwsgi_pass 127.0.0.1:8080; + uwsgi_pass unix:/run/uwsgi/minimun.sock } } } -- cgit