nginx

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
likewhoa's picture

NGINX microcaching producing high FBT times.

I have a site setup were I am benchmarking boost with nginx vs nginx with microcaching and it shows that using microcaching produces a First Byte Time of around 0.984s while nginx+boost without microcaching produces 0.257s.

I know that microcaching should be producing better or similar numbers but in my case it's the appositive.

I like to get to the bottom of this odd issue.

P.S I am using perusio's d6 branch

Read more
bangkpow's picture

Microcache will offer a WSOD after a while

I'm serving cached version to all anonymous users. I'm kind of using it as a lazy man's varnish drop-in, it works great except it will offer a nice WSOD from time to time, and exclusively for the website.com front page.
I don't know why or when, but it looks like it depends on how busy the site is. The more anon users on the site, the faster the frontpage will wsod.

I've not found any errors in nginx or php logs, http response is 200.
Where in microcache configuration should I start looking?
I'm using Perusio's nginx config, nginx/1.2.5, pressflow6

fastcgi_microcache_zone.conf

Read more
Anonymous's picture

wildcard setup for subdirectories

I am not sure if we'd pursue with multisite installation, but at the moment we have one site which supports multiple language like:
example.com/en
example.com/es

There seems to be a translation bug/error while using this setup, so, we are thinking about using it as subdomain (might be multisite) like:
en.example.com
es.example.com

But again, we'd also have some other feature not directly related with main site (only the user information) like:
blog.example.com
community.example.com

Read more
EDanee's picture

Nginx and boost with older config

hi folks,

A while back I altered perusio's config a bit for my server.
I'm running multiple domains - not all drupal.

I have to be honest I didn't follow the updates on github after I set up my config.
And this seems to come back and haunt me :)

Read more
emjayess's picture

Running tests... expected fails

We're using @perusio's drupal-with-nginx as our baseline configuration, and have an initiative to beef up our testing and test automation infra. Running tests from some or all of the test suite produces a healthy number of fails... many/most of which are to be expected, given the configuration.

Read more
Anonymous's picture

SSL for only Authenticated users

I have been using Perusio's Nginx config in FreeBSD and Ubuntu without any problem. The only thing I couldn't understand is it redirects to HTTPS whenever I visit the site. I want to make my site accessible via plain HTTP for all users and HTTPS for registered/logged-in users.

I haven't changed any HTTPS config in FCGI or other place, I just declared the SSL certificates and keys, now whenever I visit the site, I am accessing HTTPS (even for anonymous users). I tried clearing all caches in my browser and also using private browsing but I am again forced to HTTPS. Im using D7, PHP-FPM, Nginx

Read more
sanguis's picture

Vhost Generator

Hi all I just wanted to let you know that I created a vhost generation script for unbuntu 12.04 that creates a drupal oriented server{} block.
Get it/fork it/ect here. https://github.com/sanguis/vhostx

Read more
r2b2's picture

Configuring Nginx

Hi,

I am planning to install Nginx on a HostGator dedicated server. The problem is they (HostGator) do not support it but can install it and then its up for me to configure it. However, I have no experience configuring Nginx yet. Do you have a sample or a de-facto nginx config for Drupal 6?

Here is my setup:

Installed and configured APC
MySQL running fine
Drupal 6 running on a sub-directory (
/home/myusername/www/siteA.com/
/home/myusername/www/siteB.com/
/home/myusername/www/staging.siteA.com/
/home/myusername/www/staging.siteB.com/
)

Read more
Anonymous's picture

Microcaching with SSL session caching

Hi,
we are developing a e-commerce site using D7, Commerce module, PHP-FPM, APC, MySQL, InnoDB, Memcached, Nginx, SSL. Our Dedicated server has Intel i5 2.5GHz 4 Cores, FreeBSD, 16 GB RAM, 120 GB SSD.

Read more
Anonymous's picture

BOA Webmin and virtual hosts in Nginx

I am looking for information about how to properly use webmin to setup a new domain in a BOA server - a domain that will not be a drupal site at all.

This is for those of us too poor to have two separate servers and who have to provide for a few non-drupal non-aegir sites on their server.

I know that Webmin can be used to setup a new dns zone for the new non-drupal domain. After that I know that I either manually add a vhost file in nginx or, suppossedly I should be able to use Webmin for this, since webmin is suppossed to support nginx. My questions are as follows:

Read more
Subscribe with RSS Syndicate content