queso (owner)

Revisions

gist: 136555 Download_button fork
public
Public Clone URL: git://gist.github.com/136555.git
Text only
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server {
  listen 80;
  server_name www.web20show.com;
  rewrite ^(.*) http://web20show.com$1 permanent;
}
 
server {
    listen 80;
    server_name web20show.com *.web20show.com;
    root /data/web20show.com/current/public;
    access_log /var/log/nginx/web20show.comaccess.log; # vhost specific access log
    passenger_enabled on;
    
    location ~* \.(ico|js|css|jpg|jpeg|gif|png)$ {
      expires max;
    }
 
}