Hello. I need to change the site referrer for images. I can't do this without this module. How to do this safely?
root@nl30:~# nginx -V
nginx version: nginx/1.24.0
built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
built with OpenSSL 1.1.1q 5 Jul 2022
TLS SNI support enabled
configure arguments: --user=www --group=www --prefix=/www/server/nginx --add-modh-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_sdule --with-http_mp4_module --add-module=/www/server/nginx/src/ngx_http_substitu
root@nl30:~#
Plugin not installed 🙁
root@nl30:~# nginx -V 2>&1 | grep -o 'http_proxy_module'
root@nl30:~#
I need to do:
location /comix/ {
proxy_pass https://example.com;
proxy_set_header Referer https://fake-referer.example.com;
proxy_set_header Host example.com;
proxy_hide_header Referer;
}
No work