nginx is an open source Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols.

learn more… | top users | synonyms

0
votes
2answers
49 views

Advagg and Nginx

I have the following errors displayed on my status report page: Adv CSS/JS Agg - HTTP Request HTTP requests to advagg for js files are not getting through. AdvAgg will issue a request for a file ...
0
votes
0answers
10 views

Caching issues on alias site

Hello I have a live site which has a web URL ( www.mysite.com) . On sites.php I configured another alias, lets call it apimysite.com. These sites are all on a stack that looks like this: DNS --> ...
1
vote
1answer
39 views

Drupal Commerce, Can't add to cart without HTTPS enabled

Well I have a quite weird situation here, I assume this problem must be a server side issue, but so far I couldn't figure it out how to fix this. I have a Nginx server with Varnish (I even disabled ...
0
votes
1answer
32 views

nginx rewrite for drupal

I have installed Nginx and I have a Drupal site installed in a sub folder. I also have a directory in /drupalpath/sites/default/files/books/ that stored some PDF in it. I configure my nginx like this: ...
0
votes
0answers
17 views

Recent server upgrade: Now I need to refresh the page to see new content

I recently upgrade my server from Ubuntu Server 12.04 to 14.04, Apache to Nginx (not really an "upgrade" just switched to Nginx because of memory usage), PHP 5.3 to PHP 5.5, MariaDB 5.5 to MariaDB ...
0
votes
1answer
85 views

Drupal installation in nginx subdirectory

I have a new application that will be made of 2 frameworks yii and drupal 7 Yii framework will be in the root (/) and drupal will be in a sub directory called admin (/admin) I have a problem how to ...
0
votes
1answer
170 views

rule to remove “Public files directory Not fully protected” in nginx?

I use D7 with nginx and php5-fpm on Linux and get this security warning: Public files directory Not fully protected I see here that one needs to use this snippet in Apache's htaccess to resolve ...
0
votes
1answer
56 views

Access denied when enabling or setting by default a theme (on Nginx)

I get an Access denied error page when attempting to enable or set by default a theme. It is kinda weird as I am allowed to perform other admin tasks. I checked that my user is an administrator and ...
0
votes
1answer
99 views

Drupal multi-site Aegir caching strategy

We are migrating many sites from various content management systems onto a single Drupal/Aegir platform. We used to have a high density of sites on the same servers and Aegir definitely makes managing ...
0
votes
1answer
709 views

Redirect does not work on nginx

I'm migrating an old site to Drupal (using migrate module), and I've managed directly in code all old urls to redirect to new Drupal urls using redirect module, for example: ...
1
vote
1answer
471 views

Drupal behind a SSL offloading reverse proxy — is this config correct?

We are transitioning an existing drupal installation to run as a SSL-only site behind a SSL offloading proxy. Drupal itself has no SSL and is running on port 80 on apache. We've got what we think is ...
0
votes
1answer
62 views

BOA installation caching does not refresh

I have recently migrated an existing site into a fresh BOA platform. The problem I am facing is that the cache for the anonymous users is never cleaned, when new content is added. The anonymous user ...
2
votes
0answers
48 views

Running simpletest tests with clean urls on nginx

Having Drupal 7 on nginx with enabled clean urls. nginx config: location @drupal { rewrite ^/(.*)$ /index.php?q=$1 last; } When trying to run tests getting message: You are not authorized to ...
1
vote
0answers
293 views

system/ajax 502 Bad Gateway error

It's been almost 2 days I've been trying to get over this issue but I can't. So I have a content type and in Manage Display section I have a "rendered view" field using node reference, Display Suit ...
0
votes
0answers
147 views

NGINX + Drupal 7 Image creation via system/temporary failing with 404

I'm trying to migrate a Drupal 7 site to NGINX, and have everything working except for when the system tries to create images for specific Image Styles. I'm using the Amazon S3 module for file ...
0
votes
1answer
381 views

Perusio Nginx Config and AdvAgg

Problem The latest in my series of nginx problems. I'm trying to get Perusio's nginx config working with AdvAgg. However I get an error, 404 requests are not getting through to AdvAgg. Basically ...
2
votes
1answer
1k views

Drupal nginx configuration. PHP files being downloaded

Problem I'm trying to configure my nginx server. I've been building from the default rather than jumping straight into Perusio's because I don't understand a lot of it. I'm trying to deny access or ...
0
votes
0answers
119 views

Using Remote Image files when developing locally - nginx set up

I've been following this article, trying to set up my local nginx, so as a fallback - imagery will be directed to the live version of the site. I've tried both examples given in the comments: ...
0
votes
1answer
819 views

Setting up the private file directory (nginx)

Problem I'm trying to set-up a private file directory for Drupal on an LEMP stack (Ubuntu 12.04, nginx, MySQL, PHP), I wasn't 100% sure about the permissions or set-up so I thought I'd ask, how ...
0
votes
2answers
144 views

Can this PHP node leak memory?

I have a Drupal 7 installation that apparently leaks memory somewhere. The memory usage of nginx is going up in production until the server fails. This started basically when I added a new node with ...
0
votes
1answer
282 views

Using reverse proxy prevent login flooding

I have set $conf['reverse_proxy'] = TRUE; in settings.php, but the IP address logged in the flood table is 127.0.0.1, not the one passed through the X-Forwarded-For header. Nginx is configured to send ...
1
vote
1answer
367 views

Can't disable or enable any module

I recently moved a project from one server to another. the server is running on nginx. I noticed some issues like that I cant upload any picture to ckeditor using imce module (I can upload images ...
0
votes
1answer
139 views

Drupal 404 not found with SOME browsers

hello I have a drupal multisite setup, with the same modules and paths enabled ( services with REST endpoints). I have some weird behavior: on site1 I call a URL and get the HTTP status 401 ( which ...
0
votes
2answers
135 views

After migrating D6 only homepage works

I've migrated a D6 site to a new server and now it's working in a very strange way: Homepage loads OK Update.php and install.php loads OK Any other page (including /admin, /user...) doesn't work. ...
0
votes
0answers
131 views

Running drush on pressflow (D6) + nginx server

SO, I have been using drush from past many years on an apache server and it has been working like charm. I have a multisite setup with Drupal and run around 100 subdomains. In my situation, I feel ...
0
votes
1answer
1k views

Pathauto URL alias not working (using nginx)

I'm having several problems with URL paths (Drupal 7). I think they are related with nginx configuration, because I'm experiencing this problems since I migrated the site from an apache server to an ...
25
votes
3answers
67k views

Nginx vs Apache - Are there any actual usage comparisons and statistcs out there?

I have a new server to play with, and I am staring at a blank canvas. I can put anything I want on it. While I am comfortable with Apache, I keep hearing how nginx can handle so much more traffic than ...
0
votes
1answer
635 views

boost and nginx compatible?

Is the boost module compatible with nginx ? Or does boost support nginx integration? If so where can one find the default nginx rules for installing boost? The module requires installation using ...
0
votes
1answer
145 views

Nginx with boost serves cached pages to logged in users

I run my d7 using boost under nginx. Previously i had apache server so the .htaccess generated by boost module has the rewrite_mod for logged in users in order not to hit cached pages. What is the ...
0
votes
1answer
399 views

Clearing cache causes nginx error

Whenever I clear cache from the admin panel (or hit the url directly) I receive an nginx error (but nothing specific is being logged). There are no PHP error logs being created for this either. ...
1
vote
1answer
131 views

create email id for registered users in Drupal 7 and Nginx

I am working on a Drupal 7 site which lets users to register using their email, when the user verifies their email address, I am planning to create new email address for them to use, which has ...
3
votes
1answer
4k views

How do I enable clean URLs with Nginx?

I'm using Drupal 7.x. I have achieved to make it work without clean URLs. Investigating, I have understood that I should create a vhost for each drupal site and enable clean URLs with the following ...
6
votes
3answers
5k views

Is there a common nginx conf for Drupal 7 sites?

I've taken a look at Perusio's drupal-with-nginx repository and while I think it's impressive how extensive it is, it may be a little too advanced for me at the moment, plus I have several Symfony2 ...
1
vote
1answer
432 views

Redirecting Drupal multisite non-www to www with varnish / nginx

I'm building Drupal multisite with 35 sites (~60 different domains) and I'd like to redirect non-www urls to www regardless of domain. Nginx is redirecting all domains to Drupal install folder. I've ...
0
votes
1answer
256 views

Drupal on nginx: 404 Error

I'm migrating my drupal websites from a server running with Apache web server to a Nginx server. The problem is, I can't access any of my websites on the nginx server. It redirects me to a 404 error ...
1
vote
1answer
217 views

How does Drupal check write permissions for a folder?

How does Drupal check the write permissions on a folder in Linux? I am using php5-fpm and the web server is working as the user that owns the Drupal directory and I expect that even with a 700 the ...
0
votes
1answer
2k views

Special type of nginx redirect: redirect only if $request_uri is empty

I need a special type of redirect for a Drupal 6 website. I'm thinking that the best place to do this is in an nginx config file, but please correct me if I'm wrong. I know I can do it in a template ...
1
vote
0answers
307 views

Pages hit by Boost Crawler are not being cached on Nginx Reverse Proxy

I am running an Nginx reverse proxy on port 80, with Apache behind on port 81. I do not have nginx set up to serve boost cache files, only static assets. If I hit port 80 from my browser, or curl on ...
0
votes
1answer
279 views

Nginx Drupal rules for Views pager

I just realised many guide on the internet not works for Drupal 7 Views pager This is generally Nginx and Views pager issue. I've tried in Apache2 and the pager works without problem. For example, ...
0
votes
1answer
984 views

(nginx) File field upload progress not working, but upload progress in FileField Sources works

Drupal 7.14, FileField Sources 1.4, Nginx, php cgi. File upload limit 1000MB. Using Chrome as browser Everything has been configured fine. I've tested using FileField Sources, upload about 700MB ...
1
vote
1answer
320 views

Why do uploaded files gets saved with an all-caps file extension?

On my product site any uploaded images get saved with the .JPG saved in all-caps. I don't see the same issue on my local development machine so I would think it has to be a server issue? The live site ...
1
vote
1answer
424 views

Image upload fails

I am running drupal 7 on Arch Linux with PHP 5.3, nginx, and php-fpm. I can't upload any image, and I get the following error: An unrecoverable error occurred. The uploaded file likely exceeded ...
2
votes
1answer
424 views

What Drupal development environments are available besides XAMPP?

I am using XAMPP for almost 2 years. Recently i found some articles that suggests that XAMPP is loading some extra libraries/dlls which is not required for a Drupal development environment. Is there ...
0
votes
0answers
423 views

How to cache whole pages using nginx?

Currently I am using nginx and php5-fpm behind Varnish to render pages. It is great of guest users; however, I feel it is a bit slow and error-prone for authenticated users, and I'd like to disable ...
0
votes
2answers
928 views

Drupal 301 redirects for matching paths without .htaccess

I am using a Drupal site on top of nginx, and would like to be able to redirect a set of pages from an old style url, to a new one, using 301s. The content has already been migrated over to the new ...
7
votes
1answer
2k views

Upload progress on nginx

I am using the latest version of Drupal 7 and my webserver is Nginx. I checked the status report and it says: Upload progress Not enabled Your server is not capable of displaying file upload ...
6
votes
6answers
10k views

Drupal 7 fails to create thumbnail, medium and large images, what am I doing wrong?

When using a new installation of Drupal 7.10, I have set the directory for public uploads to sites/uploads. When I then add an image to a content instance, I get the original uploaded to ...
3
votes
3answers
1k views

Drupal 7 and performance (vps/nginx/apache/apc etc.) [closed]

I have a question about (system) requirements of a VPS for a single Drupal 7 installation. I know there are more topics about it here. Well I read them all (VPS and memory related) how ever I can not ...
2
votes
1answer
1k views

nginx sets content-type text/html on redirect

I set up nginx as a reverse proxy for Drupal. Static files are served from a different domain. It works well, imagecache files are generated well, too. But the problem is: when the derivated image ...