#nginx

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

How to run another PHP app in subfolder or subdomain with Perusio's config?

Hi everyone,

I just started using XCache, which comes with an HTTP admin interface. I can't figure out how to make this work with Nginx+PHP-FPM and Drupal6+Boost with the Perusio config. I tried setting it up in a subdomain, but it just keeps redirecting it to my Drupal site running on the TLD. I don't really care if it's a subdomain or subfolder, but I'd really appreciate a quick tip on how to make it work.

Thanks a lot!

Read more
orkutmuratyilmaz's picture

What should we do with Linux/Cdorked.A malware?

I've seen this post today:

http://www.welivesecurity.com/2013/05/07/linuxcdorked-malware-lighttpd-a...

It looks like something went terrible.

What should we do with our servers and Drupal installations?

Read more
flocondetoile's picture

Nginx native caching and memcached

Hello,

I use Nginx and his native caching system (Perusio's configuration) to quickly serve web pages to anonymous visitors.

I wonder if it makes sense to use memcached, along with the nginx cache system ? Or rather, instead of the Nginx cache ?

The only advantage I can see is to store the cached pages in RAM rather than on the HDD.

Have you ever used memcached with / along nginx caching system ? And for what use cases ?

thanks

Read more
Anonymous's picture

Just started with Nginx but stuck in redirect loops

hey,

just about to move from lighttpd to nginx. but for some reason i can't manage to get it to work. i used perusio config from github but always end up in redirect loops. i got the feeling that i need to learn a bit more about this config and tried a fresh drupal setup with a very minimal nginx conifg out perusio version. but even then i only manage to get redirect loops between / and install.php

can anyone help me to get a minimal working nginx.config for a fresh drupal setup without any fancy stuff?

my nginx.conf:

user nginx nginx;
worker_processes 1;

Read more
apotek's picture

Latest D7 security update changes to htaccess. How to implement in nginx configuration

The 7.22 security update for D7 includes some interesting and challenging modifications to the standard drupal distributions .htaccess file.

Read more
Anonymous's picture

conflicting server name ignored

While restarting Nginx I get the warning mentioned below. I don't have other servers running just one domain with ssl, and I have defined server name after every server block. I'm using 99% Perusio's config, 1% mine server name and some values.

Read more
fehin's picture

Nginx showing default page instead of installed Drupal page

I used Perusio's setup and Nginx and php5-fpm are running without errors. My root files are located at srv/www. I indicated this in the config and enabled the sites with
ln -s /etc/nginx/sites-available/website1.com /etc/nginx/sites-enabled/website1.com.

I don't know what I'm missing.

Read more
burgs's picture

BOA url 404 patterns

Hi,

I'm finding that my BOA instance is returning ugly nginx 404s for certain url patterns. Specifically, at the moment, pages that have the word "progress" in the url alias will return a white nginx 404 rather than a relatively nice drupal 404. I'm presuming that I can add a directive in the conf file at /data/disk/EDIT_USER/config/server_master/nginx/post.d/nginx_vhost_include but I just thought I'd see if anyone else has had this issue, and has succesfully altered their setup.

Thanks :)

Read more
Tim Jones Toronto's picture

Nginx: Problem with ‘+’, ‘&’ in filename for ImageCache and unescape URLs rewrite question.

Hello, I am investigating a problem using Nginx with imagecache.

I have described the problem in the Imagecache issue queue http://drupal.org/node/615418#comment-5981692

In a nutshell, Imagecache is not renaming files correctly on i) file upload and ii) using the Media module for accepting Youtube links. One suggestion is using a Rewrite rule for 'B' (escape backreferences) if using Apache (reported as working). However we are using Nginx.

I am using perusio https://github.com/perusio/drupal-with-nginx config with Drupal 7.14 for testing.

Read more
moallemi's picture

nginx: The page you are looking for is temporarily unavailable

I am using nginx, with php-fm. I am using webform module. when I try to add components to a webform nginx redirects to this page:

The page you are looking for is temporarily unavailable.
Please try again later.

nginx error log:

Read more
Subscribe with RSS Syndicate content