Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes

I use subs_filter, it error nginx: [emerg] unknown directive "subs_filter", i try use sub_filter, it does not work (https://imgur.com/WX1DM2K)

When i use EasyEngine it works well with subs_filter

I don't know why, i try search in google but not results :(

Thanks all,
bibica from Viet Nam

closed with the note: it done

1 Answer

0 votes
by Expert

Hi bibica,

I'm using sub_filter in Nginx all the time, I don't really know what happend in your case that you're getting an error. Try this way inserting it after the "index" line:

sub_filter_once off;
sub_filter_last_modified on;
sub_filter https://domain.com/wp-content/uploads https://cdn.domain.com/wp-content/uploads;

Please, tell me if it works for you.


It works perfectly

Thank you so much
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.