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: 177.73.203.229, server: appointments.hudsonstreet.us, request: "GET / HTTP/1.1", host: "54.91.193.189:80"
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;
}
}
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: 177.73.203.229, server: appointments.hudsonstreet.us, request: "GET / HTTP/1.1", host: "54.91.193.189:80"
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;
}
}