#nginx

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
dnyaneshwargiri22's picture

NGINX 1.18 compatibility with Drupal Core 8.7.12 Sites

Hi there,
We are planning a NGINX upgrade on our production machines which is hosting a Drupal site.
Before just wanted to check and confirm compatibility of NGINX 1.18 or >NGINX 1.18 versions with current components of our application.

Components currently being used-

Drupal Core- 8.7.12
Web Server- NGINX 1.16.1
PHP-7.3.14
Database Version- 5.5.5-10.4.11-MariaDB. System MySQL, MariaDB, Percona Server, or equivalent
Operating System- Linux, NAME="Red Hat Enterprise Linux Server", VERSION="7.7 (Maipo)"

Read more
charlesj's picture

Lingotek, Nginx and Drupal 7/8

Is anyone running Lingotek with Nginx?
(The Lingotek teams develop on Apache, and we're all using Nginx here.)

I'm noticing an Ajax callback that Nginx may not be processing correctly, and would appreciate hearing from any Nginx + Lingotek users to see if you are using any custom server configs.

Thanks!

Charlie

Read more
ludo1960's picture

drupal 8 nginx setup

Hi guys,

new to nginx so following blindly like a sheep,

using https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/ I created an example.com in /etc/nginx/sites-available/ and symlinked it from sites-enabled and have my drupal 8 in /var/www/example.com. When I go to eample.com I get a 403 but my test.php shows up just fine in example.com/test.php as does my example.com/adminer.php so it's nearly right. Is there something I need to change in nginx.conf to get drupal 8 to work?

PS everything in var/www/ is owned by www-data, so I dont know what else to try?

Thanks

Read more
Nikdhil Mdohfan's picture

Drupal path problem with nginx/1.9.5

I am trying to install drupal on nginx 1.9.5
here is my default.conf http://pastebin.com/4hTBnSJf

When i set up my css/js paths are missing see att.

its like

@import url("http://192.168.52.211/modules/system/system.base.css?0");
@import url("http://192.168.52.211/modules/system/system.admin.css?0");
@import url("http://192.168.52.211/modules/system/system.menus.css?0");
@import url("http://192.168.52.211/modules/system/system.messages.css?0");
@import url("http://192.168.52.211/modules/system/system.theme.css?0");

Read more
EdPhillis's picture

Image styles when imported from apache not creating

I have a bunch of image files that have come from an apache staging server which have been converted, e.g a space has been converted to %20, so the imported images are my%20image.jpg. These are not viewable and the subsequent image styles are not being created. If I upload images with spaces directly on to nginx then no problem. I am using Perusio's config which seems to be setup to resolve escape characters, however it doesnt like files with % signs in them. Any ideas how to resolve this?

Read more
EdPhillis's picture

Issue with Image styles where spaces in image title

I have noticed that images with spaces - rewritten as %2520 - are not being saved to the image style folder. If I resave the image with a sensible title then the image gets saved in the image style folder. I am using Perusio's config. Does anyone know how I could fix this in drupal.conf (with a rewrite?)?

Read more
Torenware's picture

Enabling CiviCRM php scripts under Perusio's drupal configuration

I'm now running a Drupal / CiviCRM site on AWS using Perusio's standard config. This mostly works fine.

The one issue I've found is that CiviMail uses a variety of PHP scripts located under sites/all/modules/civicrm/extern/ (e.g., sites/all/modules/civicrm/extern/soap.php, sites/all/modules/civicrm/extern/open.php, etc.). Short version: the CiviMail back-end needs to talk to the installed CiviCRM instance via these end points. Since the standard Perusio config only wants to talk to /index.php, I need to extend things for this specific group of scripts.

Read more
trotsak's picture

unmet dependencies: nginx : Depends: libluajit-5.1-2

Good day!

I setup nginx at DO, Debian 7 x32. I try to install nginx.

My /etc/apt/sources.list is:

deb http://ftp.us.debian.org/debian wheezy main
deb http://security.debian.org/ wheezy/updates main
deb http://debian.perusio.net unstable/
deb-src http://debian.perusio.net unstable/

When I install nginx (aptitude install nginx) I get:

The following packages have unmet dependencies:
nginx : Depends: libluajit-5.1-2 which is a virtual package.

how can I resolve it?

Read more
splitsplitsplit's picture

Setting up Nginx Config: [emerg] no port in upstream

I'm trying to set-up Perusio's nginx configuration, I'm getting the following error on testing it:

nginx: [emerg] no port in upstream "www0" in /etc/nginx/php_fpm_status_vhost.conf:16
nginx: configuration file /etc/nginx/nginx.conf test failed

I couldn't see any other posts on it, so I was hoping someone could explain it to me. I presume it has something to do with PHP-FPM.

My config for PHP-FPM was lifted from Perusio's other config and left pretty much unedited. I'm using the TCP ports version.

I doubled checked the ports and I can see all three PHP-FPM pools.

Read more
amacias's picture

Perusio's config and multilingual sites

I have a multilingual site with three languages (English, Spanish and Catalan) and my set up is nginx (with Perurio's config, thanks a lot António for sharing it, it is a really good job) + Drupal 7 + Boost + APC.

My site is configured so all traffic is redirected to https, and my goal was to detect user's browser language and redirect him to the correct section (ie, https://www.mysite.com/es, https://www.mysite.com/ca or https://www.mysite.com).

Read more
Subscribe with RSS Syndicate content