aboutsummarylogtreecommitdiffstats
path: root/tandoor-nginx.conf
blob: 479cf3ea808d80c418d6494a8656fb897f75a7cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server {
  listen 80;
  server_name recipes;

  location /static/ {
    alias /usr/share/tandoor/staticfiles/;
  }

  location /media/ {
    alias /var/lib/tandoor/mediafiles/;
  }

  location / {
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_pass http://unix:/var/run/tandoor.socket;
  }
}