WordPress.org

Ready to get started?Download WordPress

Forums

Minify
Nginx Support (4 posts)

  1. h2so4_
    Member
    Posted 2 years ago #

    Did somebody try this with nginx? The rewrite rule doesn't work just like that.

    rewrite ^wp-content/cache/minify-(.+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$1&type=$3&incr=$2 last;

    This could be a great plugin, but some more information would be really nice. For example if its using memcached or not or a check if it works and some credits or something.

    http://wordpress.org/extend/plugins/minify/

  2. athalas
    Member
    Posted 2 years ago #

    For nginx the rewrite rule should be:

    rewrite ^/wp-content/cache/minify-(.+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$1&type=$3&incr=$2 last;

  3. jessor
    Member
    Posted 2 years ago #

    that's exactly the one h2so4_ posted, athalas...

  4. athalas
    Member
    Posted 2 years ago #

    @jessor - No, it's not - there is a missing / before wp-content.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.