I don't have it on github, but it basically follows the pattern of the 
deploy/ngnix.conf file in the mezzanine project. Here's what it looks like:

upstream example {    server 127.0.0.1:8001;}server {    listen 80;    listen 
443 ssl;    server_name example.com;    client_max_body_size 10M;    
keepalive_timeout    15;    ssl_certificate      conf/example.crt;    
ssl_certificate_key  conf/example.key;    ssl_session_cache    shared:SSL:10m;  
  ssl_session_timeout  10m;    ssl_ciphers RC4:HIGH:!aNULL:!MD5;    
ssl_prefer_server_ciphers on;    location / {        proxy_redirect      off;   
     proxy_set_header    Host                    $host;        proxy_set_header 
   X-Real-IP               $remote_addr;        proxy_set_header    
X-Forwarded-For         $proxy_add_x_forwarded_for;        proxy_set_header    
X-Forwarded-Protocol    $scheme;        proxy_pass          http://example.com; 
   }    location /static/ {        root            
home/admin/.virtualenvs/example/project/;        access_log      off;        
log_not_found   off;    }    location /robots.txt {        root            
home/admin/.virtualenvs/example/project/static;
        access_log      off;        log_not_found   off;    }    location 
/favicon.ico {        root            
home/admin/.virtualenvs/example/project/static/img;
        access_log      off;        log_not_found   off;    }}

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to