Sha256: 6e7d218426bce506e0bcd2dbc5b31573fae0a77d9090957409a47814cf4af597
Contents?: true
Size: 764 Bytes
Versions: 2
Compression:
Stored size: 764 Bytes
Contents
server { listen 0.0.0.0:80; server_name <%= ([site.name] + site.aliases).compact.map(&:punycode).join ' ' %>; set $sx_container "<%= container.name %>"; access_log /web/<%= container.name %>/logs/<%= site.name %>_access_nginx.log main; error_log /web/<%= container.name %>/logs/<%= site.name %>_error_nginx.log error; location ~* ^\/.+\.(jpg|jpeg|gif|png|svg|ico|css|zip|tgz|gz|rar|bz2|pdf|txt|tar|wav|bmp|rtf|js|flv|swf|html|htm|ttf|eot|woff)$ { root <%= site.web.path.join(site.document_root) %>/; try_files $uri @backend; } location / { fastcgi_pass unix:<%= site.web.path %>.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } include /etc/nginx/server.conf.d/*.conf; }
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
superhosting-0.0.2 | bootstrap/etc/sx/models/common_fcgi/site/config_templates/nginx_vhost.erb |
superhosting-0.0.2 | bootstrap/etc/sx/models/test/site/config_templates/nginx_vhost.erb |