NGINX sub_filter problem

I'm currently setting up a reverse proxy using nginx which for the most part is working perfectly.

The conf file has the following entry:

server {

listen [url removed, login to view] default_server;

location /[url removed, login to view] {

proxy_set_header Accept-Encoding "";

proxy_set_header Host [url removed, login to view];


sub_filter_types text/html text/css text/javascript;

sub_filter "[url removed, login to view]" "[url removed, login to view]";

sub_filter_once off;



The proxy is successfully sending back the page and serving elements from the correct proxy locations, however this is where the problem begins.

The style-sheet ([url removed, login to view]) loads perfectly through the proxy, but inside that, there is a style import line as follows:

@import "[url removed, login to view]";

As you can see, the domain is not being filterd/changed by the sub_filter at all inside the CSS file.

I have tried changing sub_filter types to the following with no luck:

sub_filter_types *;

Should the filter be changing the domain in the CSS file?

We need you to use your NGINX expertise to make sure the contents of the CSS file are also being modified by the filter.

Beceriler: CSS, Linux, Nginx

Daha fazlasını gör: nginx subs_filter, nginx conditional sub_filter, --with-http_sub_module, sub_filter not working, nginx sub_filter multiple, nginx sub_filter gzip, sub_filter duplicate, nginx sub_filter regex, do we need a blogger case problem solution, magento filter problem, problem image nginx, nginx wordpress images problem, nginx image problem, nginx wordpress image problem, nginx filter development, nginx images problem, nginx request filter module, nginx filter data, nginx content filter, filter php magento problem

İşveren Hakkında:
( 0 değerlendirme ) Australia

Proje NO: #15816747

Bu iş için 4 freelancer ortalamada $57 teklif veriyor


A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% AUD
(69 Değerlendirme)

Hello, I will help you in all your NGINX related issues. Relevant Skills and Experience Red Hat Certified Linux Engineer having 5+ year of experience in Managing Core Server | Dedicated Server | VPS Server | SSL Certi Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% AUD
(21 Değerlendirme)

Dear Project Owner, I hope you are having an awesome day so far!!! I will help you in resolving the issues related to Nginx. Relevant Skills and Experience 5+ years of experience in Managing Core Server, Dedicated S Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% AUD
(0 Değerlendirme)

I can help you to find fix for this problem and make a good configuration for your nginx. Relevant Skills and Experience nginx, webserver, Proposed Milestones $133 AUD - find and fix problem

$133 AUD in 3 gün içinde
(0 Değerlendirme)