• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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

If you want to use Nginx, these rewrite rules will help you.

imgsco

Chevereto Member
Not sure if this is applicable to every instance of Nginx but I have just setup http://imgs.co on a Nginx server to speed things up. Since Nginx doesn't support .htaccess rewrite rules, you'll need to edit your nginx.conf file to tell Nginx how to behave.

Step 1: Open nginx.conf in the editor of your choice (vi / nano)

Step 2:

Find:
Code:
location / {
        index index.html index.php;
Then add below it the following...
Code:
        server_tokens off;
        if ($host ~* ^www\.(.*))
        {
            set $host_without_www $1;
            rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent;
        }
        if (!-e $request_filename)
        {
            rewrite ^(.+)$ /index.php?q=$1 last;
        }

Step 3: Restart Nginx
Code:
/etc/init.d/nginx restart

Now chevereto page URLs like: yoursite.com/blog will work!


If anyone is interested, I can write a guide on how to setup a Nginx server with Chevereto. Better yet, I can possibly create a free bash script that will automate *most* of the process for those of you who have a VPS or hosting account with SSH access. I'm bored and would be happy to contribute to Chevereto if possible ;)
 
I would love a script/comprehensive guide. I just got booted from my shared server to a VPS by my host and I've decided to use nginx on the VPS to reduce the memory load. I'm definitely not a server whiz and would like all the help I can get.

Thanks!
 
Hello,
With your script the admin section doesnt work, and dont let me login (I put the pass, and staying always loading).
also, how do you interprete the use of the api.php ? (to be used with firefox or chrome addons) ?

thanks a bunch!

using nginx 1.2.0
php-fpm 5.2.x
mysql 5.1
 
Back
Top