Sha256: 91a03dd0d74ef1ec6962f287900c8d659e0c8670780c0c4a65813ddc0f18f9d7
Contents?: true
Size: 945 Bytes
Versions: 2
Compression:
Stored size: 945 Bytes
Contents
server { listen 8081; server_name localhost; root /Users/<%= ENV['USER'] %>/www; index index.php; access_log /usr/local/var/log/nginx/default.access.log; error_log /usr/local/var/log/nginx/default.error.log; if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 last; break; } location ~ (\.php)$ { include fastcgi_params; fastcgi_index index.php; fastcgi_connect_timeout 60; fastcgi_send_timeout 180; fastcgi_read_timeout 180; fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; fastcgi_pass 127.0.0.1:9001; } ## Images and static content is treated different location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ { access_log off; expires 30d; } ## Disable viewing .htaccess & .htpassword location ~ /\.ht { deny all; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
megalodon-0.1.1 | cookbooks/nginx/templates/default/default.conf.erb |
megalodon-0.1.0 | cookbooks/nginx/templates/default/default.conf.erb |