~vcs-imports/reviewboard/trunk

« back to all changes in this revision

Viewing changes to contrib/docker/examples/nginx_templates/default.conf.template

  • Committer: Christian Hammond
  • Date: 2023-11-07 06:16:03 UTC
  • mfrom: (4947.1.350)
  • Revision ID: git-v1:00c845582f57ac3df206a66fe9603a1958b87fb9
Merge branch 'release-6.x'

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    }
45
45
 
46
46
    location /media/ {
47
 
      alias /var/www/reviews.example.com/htdocs/media/;
48
 
      expires max;
49
 
      add_header Cache-Control public;
 
47
        alias /var/www/reviewboard/htdocs/media/;
 
48
        expires max;
 
49
        add_header Cache-Control public;
50
50
    }
51
51
 
52
52
    location /static/ {
53
 
      alias /var/www/reviews.example.com/htdocs/static/;
54
 
      expires max;
55
 
      add_header Cache-Control public;
 
53
        alias /var/www/reviewboard/htdocs/static/;
 
54
        expires max;
 
55
        add_header Cache-Control public;
56
56
    }
57
57
 
58
58
    location /errordocs/ {
59
 
      alias /var/www/reviews.example.com/htdocs/errordocs/;
60
 
      expires 5d;
 
59
        alias /var/www/reviewboard/htdocs/errordocs/;
 
60
        expires 5d;
61
61
    }
62
62
 
63
63
    location /robots.txt {
64
 
      alias /var/www/reviews.example.com/htdocs/robots.txt;
65
 
      expires 5d;
 
64
        alias /var/www/reviewboard/htdocs/robots.txt;
 
65
        expires 5d;
66
66
    }
67
67
}