nginx

Events happening in the community are now at Drupal community events on www.drupal.org.
superfedya's picture

Nginx, CDN and SEO

Hi,

I use a CDN module for the parallel request.
But it creates a SEO problem. Same article can me available from many sub-domains:

mysite.com/article
cdn1.mysite.com/article
cdn2.mysite.com/article
cdn3.mysite.com/article

Read more
superfedya's picture

Need some help with PHP-FPM optimization

I need some help with PHP-FPM optimization for 4 core (8 with HT) server with 16GB.

Because some times I get "The connection was reset" with the heavy scripts (for example modules updates check).

My php-fpm.conf:
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;

; All relative paths in this configuration file are relative to PHP's install
; prefix (/usr). This prefix can be dynamicaly changed by using the
; '-p' argument from the command line.

; Include one or more files. If glob(3) exists, it is used to include a bunch of

Read more
superfedya's picture

Nginx and ESI

Hi,

I use Perusio's Nginx config (https://github.com/perusio/drupal-with-nginx), there is any way to use it with ESI module? (http://drupal.org/project/esi)

Or there is no real advantages to use ESI over http://drupal.org/project/cache_warmer? Installation of Cache Warmer looks too complicated, ESI must be easier.

Thanks!

Read more
marquito's picture

nginx + drupal 7 + freetds

hi all,

we've spent sometime building up a soluting for a city administration in Brazil, using Drupal 7 and SQL Server. thing is: someway up in the end of development we got to know the guys there are using nginx as their web server.

Read more
Baber Javed's picture

Varnish3 + Drupal7 + Nginx with Multiple sites

I've been trying out several VCL files across the web but my problem seems to be a bit different. I have several websites (Rails + PHP) running on my server on Nginx + PHP-FDM on port 80 and I need to setup Varnish for one of my Drupal websites only so I obviously cannot change the port 80 to be used by Varnish as all the other sites will go down as well.
Any Ideas what my VCL file should look like in this case? (PHP-FDM is running on port 9000)

Read more
dfelicia's picture

After implementing perusio's config for d7+boost, module installation fails

When I login with admin role and navigate to Modules > Install Module, pick a local file and then click Install I get redirected to /authorize.php?batch=1&op=start&id=12 which generates a 404. This happens with perusio's drupal.conf as well as drupal_boost.conf. Reverting to MKTecknology's very basic nginx.conf restores functionality.

System details:

Running Arch Linux:

$ uname -a
Linux charon 3.2.13-1-ARCH #1 SMP PREEMPT Sat Mar 24 09:10:39 CET 2012 x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux

$ nginx -V
nginx version: nginx/1.1.18

Read more
gateway69's picture

Best method for installing Nginx + Drupal + node.js

I'm tasked here at work to set up a server that Drupal can act as the front end to some stuff we are doing with node.js

I was wondering if on with ubuntu 10.04 lts server I would first set up nginx + mysql + php-fpm and get drupal up and running then work on installing node.js , im going to assume and one should never but this should be semi straight forward.

Anything special I need to do that people who have gone down this route would suggest..

Can I run them both on the same server or should i separate them both?

cheers..

Read more
japicoder's picture

Always redirecting to https?

Hi all,

After more than 2 days trying to figure what can be the reason, this is like a desperate call of help.

First, thanks to perusio for the great work. I was using my own setup based on the distro files, but with your approach I've learned a lot.

I'm using nginx 1.0.13 + drupal6 + APC, migrated from an Apache configuration. It's a dedicated server where I host 4 different websites, only one has a SSL certificate and is where I have problems.

Read more
perusio's picture

Cache warmer or microcaching as a viable caching strategy for Drupal

I've just released a drush command that implements a crawler to keep the cache warm. Although it was developed with microcaching in mind you can use it for keeping any type of external cache warm. Varnish, or whatever type of caching proxy you decide to use.

  1. To keep a cache warm just set a cron job of the command invocation that suits a particular site traffic patterns.

  2. To prime a cache fire the command once with the proper options to get all the desired content in cache.

Read more
gateway69's picture

Nginx static file cache or Varnish in front?

I have used varnish quite a bit on my LAMP stacks and this deff helps quite a bit out for static files to serve up and keeps the load off of apache.

I hear good things about nginx static file caching so is their a need to put varnish up a head of it?

Read more
Subscribe with RSS Syndicate content