add sub_filter_types

This commit is contained in:
Valentin CZERYBA 2023-01-23 23:35:00 +01:00
parent 1239415279
commit 5dca6fbdc9

View File

@ -25,6 +25,7 @@ server {
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-Proto $scheme; #proxy_set_header X-Forwarded-Proto $scheme;
sub_filter 'gouters.canalblog.com' "$host"; sub_filter 'gouters.canalblog.com' "$host";
sub_filter_types text/html text/css text/xml text/plain;
sub_filter_once off; sub_filter_once off;