Closed (fixed)
Project:
Barracuda
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2012 at 18:45 UTC
Updated:
14 Aug 2013 at 01:21 UTC
Jump to comment: Most recent
Comments
Comment #1
omega8cc commentedExample for WordPress site:
https://gist.github.com/1677835
Create it as: /var/aegir/config/includes/nginx_wp_include.conf
and use this path in your custom vhost.
Example for static site, with some PHP files:
https://gist.github.com/1677848
Create it as: /var/aegir/config/includes/nginx_static_include.conf
and use this path in your custom vhost, but change the order:
index index.html index.php;Comment #2
omega8cc commentedComment #4
dschargel commentedThanks for those two great gist examples, but y'all should be sure to change the fastcgi_pass php-fpm listening port from 9000 to 9090.
Comment #5
realityloop commentedVersions with the ports corrected:
Wordpress:
https://gist.github.com/BrianGilbert/6227135
Static:
https://gist.github.com/BrianGilbert/6227186
Comment #6
macmladen commented@omega8cc not sure if this is the right place to ask but it is along the lines..
I used your
conffiles and they work, but the static one from https://gist.github.com/1677848 works only onindex.htmlan compact include works only onindex.php(of course they both work if explicitly called).I'm still learning nginx (being good with apache) so I'm not sure which part is unable to detect both index.php and index.html as configured in
conffile.What I would like to have is something like compact that serves first
index.htmland thenindex.phpif html was not present (from what I've seen, static and compact are similar, onlyrewritediffers).Here is vhost.d/my.conf:
Comment #7
omega8cc commented@MacMladen It is something beyond the BOA project scope, so the correct place to discuss this is the group at https://groups.drupal.org/boa