nginx

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

自分のWebsiteにアクセスしても、Drupal8.5.4の設定画面が出てこない

お世話になっております。

今回、”さくらのクラウド”に最新バージョンのDrupal8.5.4を導入しようとしています。
個人的には、Nginxの設定に誤りがあるためだ、と考えておりますが、様々なサイトを回ってみても、原因の特定ができませんでした。
Nginx,MariaDB, PHPはyumでインストールしましたし、DrupalはComposerでサーバー内に展開しましたので、所有権や権限の設定は自動で行われていると考えております。

上記の私見で誤りがあれば、ご指摘・ご教授いただけますと、大変勉強になりますので、どうぞよろしくお願いいたします。

【構成】
さくらのクラウド
CPU:1core
Memory:1GB
SSD:20GB

OS:CentOS 7.5(64bit)
DB:MariaDB 10.2.8
PHP:PHP7.2 / PHP7.2-fpm
Server:Nginx 1.15.0

Composer 1.6.5
Drupal8.5.4はComposerにより配置済み

怪しいと考えている【Nginxのコンフィグファイル】3点のコードを記します。

●/etc/nginx/nginx.conf

user nginx;
master_process off; ## ADD!

Read more
mnovoa's picture

drupal 8 + nginx + centos 7

Hello

Install drupal 8 on nginx in a centos 7 server. I did not have problems in the installation, but only the front page works.

Any page of the type:

user / login
content / add
admin / themes
etc.

it shows me a "not found", I suppose it is an error in the rule of the rewite of the nginx.

Does anyone have an example of how to configure ?, or if I have to review something else.

thanks for the help from now

Read more
macdev_drupal's picture

Pages crawled by recacher are not cached

I am trying to us recacher / httprl to load expired/purged pages into the nginx micro cache.
So far all expired pages are crawled by git requests as can be seen in nginx and apache logs.
As soon as I hit a recached page in the browser, it is completely reloaded from apache and not from the cache.

I too use wget to pre fill the cache by spidering the site. Those wget requests are cached in the micro cache and a browser gets a page from the cache.

Up to now I couldn't identify a big difference between the httprl and wget requests - they are both get requests, no-proxy used… .

Read more
superfedya's picture

Perusio D6 config and ngx_cache_purge and CloudFlare question

Hi,

I installed Nginx with ngx_cache_purge module. I want to use it with this module: https://www.drupal.org/project/purge
http://labs.frickle.com/nginx_ngx_cache_purge/

Somebody know where I need put:

proxy_cache_path   /tmp/cache   keys_zone=tmpcache:10m;

location / {
proxy_pass      http://127.0.0.1:8000;
proxy_cache     tmpcache;
  proxy_cache_key     $uri$is_args$args;
proxy_cache_purge   PURGE from 127.0.0.1;
}

I found proxy_cache_path in fastcgi_microcache_zone.conf - /var/cache/nginx/microcache.

And about CloudFlare.

Read more
koffer's picture

Formas de contacto y nginx

Drupaleros. Tengo un problema y necesito un poco de guía. Hace unos meses moví varios sitios con drupal de apache-php a nginx-php Todo bastante bien, pero tengo un detalle que no termino de ajustar, hacer que funcionen correctamente las formas de contacto, al principio nginx me mandaba un error 403, después estuve cambiando algunos valores en la configuración de php para darle más tiempo, el problema esta en que ahora si manda por correo, pero tarda muchisimo, minutos enteros en mandar la forma.

Los parámetros que cambie en php es el clásico

max_execution_time

Read more
joneal's picture

New Content Type doesn't display on Add Content List

Hi all,

I recently moved a site from a web hosting company which uses apache servers to one which uses nginx servers.

However i have heard numerous issues with this new environment ranging from my modules failing to update, media gallery malfunction and now i have created a new content type and when i check in the add content list from Home » Administration. I can't see it.

I'd like to request for your insights on how to have the content type display in the add content list

Read more
pbuyle's picture

Nginx for Drupal using Ansible

Hi,

I'm planning to configure Nginx to serve a Drupal site. The server uses Ansible for provisioning, and I'm planning to use perusio's config. The logical way to do it would be to create a role based on perusio's config.

Has anyone been working on something similar?

Read more
luxpir's picture

Adding Piwik to Apps folder - merging Perusio configs correctly

I'm trying to make use of Perusio's Piwik config alongside his Drupal config. I've copied the Piwik config files to /etc/nginx/apps/piwik/ and created a .conf file using the subdomain suggested (stats.example.com). This has the include to /apps/piwik.conf in it, as per the example conf file provided.

Do I need to add a DNS record/'officially' create a subdomain to run Piwik from that URL? If possible, I'd rather use an example.com/piwik structure, but that's proving tricky.

Read more
Torenware's picture

Remote logging with nginx and php-fpm

I'm looking once again into how best to monitor a large Drupal 7 app I've deployed on AWS, using nginx and PHP-FPM (5.3.21 currently). The app uses autoscaling, and the instances often don't live very long (a day is a long time). So I need some kind of logging solution that will get my logs off the instances and into some kind of centralized store.

What are people doing for this use case?

I've noticed that more than a year after I last looked into this, PHP-FPM appears to have not committed a patch to support

error_log = syslog
Read more
splitsplitsplit's picture

Getting Started with Nginx & Drupal

Getting Started with Nginx & Drupal 7

So you want to use Nginx with Drupal. And you have no idea how to get started. Hopefully this’ll help.

Our lofty goal is to get Perusio’s Nginx config up and running. Hopefully in the process we'll understand more about how nginx works and how we can debug things.

Unfortunately I don’t understand all of it, so there’s going to be a few understanding holes here and there, but we’ll still be able to get it running.

There are plenty other ways to set-up Nginx, PHP and Drupal, this is just how I’ve done it.

Read more
Subscribe with RSS Syndicate content