Welcome! Log In Create A New Profile

Advanced

more_set_input_headers throwing an error

Posted by promise2k 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
more_set_input_headers throwing an error
May 17, 2022 12:01PM
hello

i am trying to upgrade my Nginix from nginx/1.10.3 to nginx/1.21.0.

when i run the upgrade and test the configuration file i get the below error

root@myserver:/home/myuser# nginx -t
nginx: [emerg] unknown directive "more_set_input_headers" in /etc/nginx/conf.d/exchangeRP.conf:31
nginx: configuration file /etc/nginx/nginx.conf test failed

This is whats i have in the conf file

more_set_input_headers 'Authorization: $http_authorization';

this option is working in v1.10.3 but not in 1.21.0 .

is there anything im missing?

Online Users

Guests: 110
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready