nginx

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Orkut Murat Yılmaz's picture

I've activated SSL on Nginx and Clean URLs are gone

I've been Google'ing a solution for hours, but I still haven't found.

Do you have any ideas?

Read more
Torenware's picture

Using the Drupal Maintenance Page Behind nginx

I have a site where the standard Drupal maintenance page is the simplest way to communicate short periods of down time with. our users.

The problem is that when Drupal emits a maintenance page, it attaches a status of 503. AFAICT, this is the same error status a lot of nginx configurations use to indicate that your PHP-FPM instances have passed away and ceased to pine for the fyords :-)

Read more
Big-Blue's picture

Nginx serving whole drupal directory - security risk?

Hello,

Read more
cjgarcia1965's picture

Site Performance Suggestions

I'm trying to speed up my website and need some suggestions about what things go together and which typically give you the most performance increase. I need to lower CPU usage and caching seems like the way to go. We really need to decrease CPU because our host (a pretty well respected and expensive VPS) is being overloaded with only 2-3 simultaneous users. I've run Yslow and the developers are working on making the recommended changes there.

Read more
superfedya's picture

Fail2ban rules for Nginx and phpmyadmin?

Hi,

Maybe somebody have the fail2ban rules for nginx and phpmyadmin?
To prevent brute force attack on phpmyadmin.

Apache kind of rules doesn't works on nginx:
http://www.foosel.org/blog/2008/04/banning_phpmyadmin_bots_using_fail2ban

Thanks

Read more
superfedya's picture

htpasswd doesn't works for /admin path

Hi,

It works great for really existed /admin path, but in Drupal it doesn't exist, so I cannot protect admin directory with htpasswd.

Any fix or suggestion?

Thanks

Read more
nickbits's picture

NGINX and SSL

Hi All,

I know this is me missing something, so please bear with me. I have been using Apache for years and have decided to take the plunge to Nginx. I have set it up and it works fine. The problem comes when I want to use SSL.

I want to make it so that you have to login via HTTPS and once logged in it keeps you on HTTPS. I have done this under Apache lots of times so didn't think it would be an issue.

Anyway, I created my config files, pointed the browser to https://mysite.com and it worked fine. You enter your login details, and it then goes back to http.

Read more
superfedya's picture

Nginx and Varnish

Hi,

Can somebody show me an example of config Nginx+Varnish? It is complicated to make them work together?

I use Perusio's Nginx config and I must switch from Boost to Varnish...

Thanks

Read more
superfedya's picture

Nginx and Quicktabs = Ajax problem

Hi,

Views ajax pager works fine with Nginx. But not in Quicktabs.
If I choose Ajax pager in Quicktabs module the links looks like:
http://mysite.com/views/ajax?page=0%2C0%2C0%2C0%2C1&view_name=Best_Month...

When I click on it I see the white page with some text.

Read more
EndEd's picture

Cache Warmer Customizations

Hi, we are using "cache_warmer" module to make HTTP requests to some (a lot of) pages
so BOOST cache files are created and our cache is always fresh and warm.
We use only the HUB PAGES file.

We are having problems trying to crawl pages in PARALLEL mode, but not in SINGLE mode.

  • Problem_1
    In our site, we redirect all anonymous users to a Welcome page if they don't have a "saw_welcome" Cookie (which is set after visiting that page).

  • Problem_2
    We have some paths we want to crawl that use parameters in the URL like the following examples:

Read more
Subscribe with RSS Syndicate content