Mr. Goodie2Shoes
GoodForNothing
Hello,
I am trying to set up chevereto on an nginx based server, successfully installed the application (I think) and now I am getting 403 errors everywhere (except for index and gallery routes). Not sure where I did wrong but here's the server block for the site:
I am trying to set up chevereto on an nginx based server, successfully installed the application (I think) and now I am getting 403 errors everywhere (except for index and gallery routes). Not sure where I did wrong but here's the server block for the site:
Code:
server {
listen 80;
listen [::]:80;
server_name domain.com;
root /home/username/html;
index index.php index.html index.htm;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_keep_conn on;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm-username.sock;
}
#location ~ /\. {
# deny all;
#}
location /favicon.ico {
log_not_found off;
}
#location ~ /(app|lib) {
# location ~ \.php$ {
# internal;
# }
#}
}