• Hello,

    How can I test if this configuration is set up properly on my site?
    Thanks

    # Protect WooCommerce upload folder from being accessed directly.
    # You may want to delete this config if you are using "Redirect Only" method for downloadable products.
    # Place this config towards the end of "server" block in nGinx configuration.
    location ~* /wp-content/uploads/woocommerce_uploads/ {
        if ( $upstream_http_x_accel_redirect = "" ) {
            return 403;
        }
        internal;
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using NGINX Server with X-Accel-Redirect’ is closed to new replies.