I’ve a problem with Drupal Development clear urls test. After I take a look at there’s an error in Drupal Development Nginx log:
2017/10/06 09:49:01 [error] 468#468: *199 open() "/usr/share/nginx/html/drupal-7/admin/config/search/clean-urls/test" failed (2: No such file or listing), consumer: 192.168.1.254, server: localhost, request: "GET /drupal-7/admin/config/search/clean-urls/test HTTP/1.0", host: "localhost".
I do not know if it’s a nginx downside or a Drupal downside.
replace : i modify some issues in Drupal Development nginx.conf now i’ve an error in Drupal Development log of nginx : 2017/10/14 21:55:08 [error] 4804#4804: *1 listing index of “/usr/share/nginx/html/drupal-7/” is forbidden, consumer: 192.168.1.254, server: localhost, request: “GET /drupal-7/?q=admin/config/search/clean-urls HTTP/1.1”, host: “localhost”. Right here is my nginx.conf :
http { embody mime.varieties; default_type utility/octet-stream; #log_format predominant '$remote_addr - $remote_user [$time_local] "$request" ' # '$standing $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/entry.log predominant; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; # set consumer physique dimension to 200M # client_max_body_size 200M; server { pay attention 443 ssl http2; server_name toniozz75.fr; root /usr/share/nginx/html; index index.html index.htm; location = /favicon.ico { log_not_found off; access_log off; } location = /robots.txt { permit all; log_not_found off; access_log off; } location @rewrite { rewrite ^/(.*)$ /index.php?q=$1; } location ~ .(php|html|htm)$ { root /usr/share/nginx/html; fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_index index.php; try_files $uri $uri/ /index.php?$args; embody fastcgi.conf; }