Welcome! Log In Create A New Profile

Advanced

more_set_input_headers throwing an error

Posted by promise2k 
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?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready