• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Nginx session issues (403)

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:

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;
   #   }
   #}
}
 
Forgot to mention, the error that is being logged in nginx is:
Code:
FastCGI sent in stderr: "PHP message: Request denied" while reading response header from upstream.
 
okay, fixed it myself after looking into the code... looks like the PHP sessions were not saving in the file system because of permission issues. Updated the php.ini file and everything is working smoothly 😀
 
Back
Top