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
30 views

Drupal 8 update.php/selection - access denied

I wanted to update d8 from 8.0.1 to 8.0.2, but i couldn't run the update.php due to the error "Access Denied". Am logged in as user1 which should have all required privileges.Following the drupal 8 ...
3
votes
1answer
74 views

Is using a TLS/SSL termination reverse proxy currently possible in Drupal 8

I use Nginx (port 443) which terminates TLS/SSL then forwards the request to Varnish (port 80) and on to Apache (port 8080). This worked really well for D7. Am I correct in thinking that because of ...
0
votes
1answer
38 views

Local moved to Server all nodes 404

My homepage works perfectly fine on the live server but when I use any of the links they give me a 404 Page not Found. I tried a couple things which was: Made sure .htaccess was there Tried a ...
0
votes
0answers
9 views

Boost uses different dir permissions depending on language

I'm using boost module on a multilingual site for super fast static caching. Everything works like a charm with one exception: When boost writes cache files it creates per domain directories (the ...
0
votes
1answer
31 views

Multi-site with two sites sharing the same domain?

There is absolutely no problem to have multi sites, where: domain1.com points to site A domain2.com points to site B But I want to have multi-site setup, where: domain1.com points to site A ...
0
votes
0answers
19 views

Services links not followed with nginx

I am running drupal on nginx and I have the services module installed (https://www.drupal.org/project/services). I have some views enabled to get and edit web content via http requests. The url's are ...
0
votes
1answer
39 views

Url params not working -> access denied

I'm new to Drupal 8. I tried to do some batch process (for example installing modules or importing language files). I got access denied for example on this address : ...
0
votes
0answers
12 views

How to configure VPS Nginx for Drupal?

I use nginx + php5-fpm. I work with IDN domains like пример.рф and usual latin domains like example.com My sites work on Drupal 7. But Drupal reports this: http request status error. Error is with ...
1
vote
0answers
128 views

Settings for cache and proxy with Vesta Control Panel in a Drupal site

In a site powered by Drupal 7 and a Vesta Control Panel I have a problem with cache, or proxy settings. When a visitor respons to a poll, the IP recorded is the IP from the servor, not from the ...
0
votes
1answer
128 views

Urls without question mark are served with 404 in Drupal 7 with Nginx

I am migrating an Drupal 6 site to Drupal 7. I encountered some behavior, I cannot explain and would like to ask the community. As I was testing if all urls work, I noticed, that there are urls like ...
1
vote
0answers
71 views

S3fs redirect aggregated file to s3 failed

I follow the s3fs's readme to redirect aggregated files. It didn't work. Got 403 error in the nginx access log. Here is my nginx conf. location ~* ^/(s3fs-css|s3fs-js)/(.*) { set $s3 ...
1
vote
1answer
156 views

Thumbnail generation with nginx reverse proxy

I'm using nginx as a reverse proxy for a Drupal 7 site running on Apache2. When I try to view a thumbnail I get the Drupal 404 page saying that the location is not found. I have implemented the ...
1
vote
1answer
209 views

rewrite with nginx conf result 502 bad gateway

My code is based on http://wiki.nginx.org/Drupal and the result is 502 bad gateway. I have tried so many ways but dont work.... how i can solve this? thanks server { listen 8093; ...
0
votes
0answers
123 views

Drupal amazon s3 image styles not generated

My server configuration: drupal 7 + multisite, nginx + varnish and Amazon s3 storage for image assets. I have my website images in amazon s3 storage. I can able to upload the images via drupal into ...
0
votes
1answer
118 views

How to deal with files with %20 in name in Nginx

I have imported a lot of files from apache staging to nginx live and the files that have been rewritten by apache (%20 etc) are not being read by nginx, although nginx has no problem with me uploading ...
0
votes
0answers
41 views

Thumbnails not being generated from symlinked directory

We have set up a symlink that points outside the webroot. The symlink points to a directory that contains images. The images are accessible on the site, but Drupal is not creating thumbnails of the ...
0
votes
0answers
11 views

How to enable Clean URL's in Drupal 7 running on Nginx server? [duplicate]

I would like to enable clean urls in drupal 7 running under nginx server. I have tried alot of suggestions from the internet, but none worked. Here is my /etc/nginx/sites-available/default code ...
1
vote
0answers
39 views

How should I translate the “double gzip” parts of default .htaccess into an nginx directive?

There is this section of the default .htaccess: # Serve correct content types, and prevent mod_deflate double gzip. RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1] RewriteRule \.js\.gz$ - ...
0
votes
0answers
219 views

Clean URLs not working with localhost on drupal 7.34 install with nginx 1.4.6

I have installed nginx 1.4.6 and php-fpm on ubuntu 14.04 with drupal 7.34. The web root is /usr/share/nginx/html and my drupal install is in a subdirectory of this at /usr/share/nginx/html/drupal. I ...
1
vote
0answers
52 views

403 error in files while hosting drupal site in hostgator

I'm trying to host my drupal site in Hostgator. Here what i've done so far: a. uploaded files to server, created db and user and imported too. b. Change settings.php database content. My site is up ...
1
vote
2answers
116 views

URLs aren't working after site migration

My problem is two fold: After migrating my site, many of the URLs aren't working, and producing 404 errors. But the main landing page is working, and so are most/all of the features on the main ...
0
votes
1answer
108 views

Remove language prefix from file url on drupal 6

We have a multilingual site on Drupal 6. which seems to work fine, we created a rotor view on the default language (en). This views looks great on default language which loads without any language ...
1
vote
2answers
813 views

Private files not found 404 error

My installation is Drupal 7 + Nginx + Varnish cache My private files path: sites/default/files/private/demo.img URL in browser: system/files/demo.img When I try to open private file: ...
1
vote
0answers
189 views

Drupal instalation throws 502 gateway error while connecting an external oracle database server

I need to install Drupal 7.34 on nginx web server with oracle 12 as database. Oracle is listing in DB list. But after submitting the DB and server details, it fails. I am posting the error that I got ...
1
vote
3answers
671 views

How do I access update.php using nginx?

I would like to use Drupal 8 (beta) with nginx. It works correctly, except update.php. It doesn't find it. After analysing .htaccess (which is not processed by nginx) I realized that there is no real ...
0
votes
0answers
1k views

Set Cookie in response header

I'm actually having a strange problem with one of my drupal installations. While I was trying to setup nginx for one of my sites, I ran into an issue that only the frontpage wont get cached. After a ...
0
votes
1answer
210 views

URL rewrite of localisation with nginx

I'm having trouble with changing the url of a drupal localisation. All urls are clean, but contain a non-clean localisation part; ?q="language", e.g. ?q=de, ?q=fr. The site runs on nginx + mysql + ...
0
votes
2answers
807 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 ...
2
votes
1answer
203 views

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

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 it ...
0
votes
1answer
141 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: ...
1
vote
2answers
877 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
790 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
291 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
280 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 ...
2
votes
1answer
2k 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: ...
4
votes
1answer
2k 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
161 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 ...
5
votes
1answer
93 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
673 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
1answer
1k 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
3k 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 ...
1
vote
1answer
2k 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
218 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 ...
1
vote
1answer
619 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
2answers
1k 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
231 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
195 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
210 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
2k 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 ...
36
votes
3answers
85k 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 ...