Commit e6b633f3
Changed files (1)
config
config/nginx.conf
@@ -49,27 +49,11 @@ http {
listen 443 ssl;
ssl_certificate /home/cakeside/apps/www.cakeside.com/current/config/server.crt;
ssl_certificate_key /home/cakeside/apps/www.cakeside.com/current/config/server.key;
- server_name staging.cakeside.com
- proxy_set_header X_FORWARDED_PROTO $scheme;
+ server_name staging.cakeside.com;
root /home/cakeside/apps/www.cakeside.com/current/public;
passenger_enabled on;
rails_env staging;
error_log /var/log/nginx/cakeside.error.log;
access_log off;
- location ~* "\.(js|ico|gif|jpg|png|css|html|htm|swf|htc|xml|bmp|cur)$" {
- root /home/cakeside/apps/www.cakeside.com/current/public;
- add_header Pragma "public";
- add_header Cache-Control "public";
- expires 3M;
- access_log off;
- log_not_found off;
- }
- location ~ ^/assets/ {
- expires 1y;
- add_header Cache-Control public;
-
- add_header ETag "";
- break;
- }
}
}