aboutsummaryrefslogtreecommitdiff
path: root/nginx.example.conf
blob: 64b54e55111e3c552b57a51d51eb7cc372f1703e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
http{
  server {
    server_name domain.com;
    location = /minimun {
      return 301 https://$server_name/minimun
    }
    location = /minimun/ {
      root /home/minimun/minimun/www/;
      try_files /index.html =404;
    }
    location /minimun {
      gzip off;
      include uwsgi_params;
      uwsgi_modifier1 9;
      uwsgi_pass unix:/run/uwsgi/minimun.sock
    }
  }
}