Welcome! Log In Create A New Profile


directory index of " " is forbidden

Posted by mdm100 
directory index of " " is forbidden
October 29, 2018 01:54PM
Ubuntu 14.04
PHP Version => 5.5.9-1ubuntu4.26

I have hit a brick wall on this issue. Any insight is greatly greatly appreciated.

Error for NGINX logs

2018/10/29 17:46:09 [error] 3681#0: *14 directory index of "/usr/share/nginx/html/appointment-reminders-laravel/public/" is forbidden, client:, server: appointments.hudsonstreet.us, request: "GET / HTTP/1.1", host: ""

Sites Available default file:

server {
listen 80;
listen [::]:80;
root /usr/share/nginx/html/appointment-reminders-laravel/public;
index index.php index.html index.htm;
server_name appointments.hudsonstreet.us;

location / {
try_files $uri /index.php?$query_string;

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


Edited 1 time(s). Last edit at 10/29/2018 02:00PM by mdm100.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 82
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready