Mapping Headers in Nginx
Writeup Here: https://serversforhackers.com/c/nginx-mapping-headers
When we use our applications behind some sort of proxy, we usually need to make the application aware it's behind a proxy.
This lets the application know to use the Forwarded or the X-Forwarded-* headers to know the protocol/schema (http vs https), port, and real client IP address.
However, sometimes we don't have the standard headers available. In those cases, we can map one header (and it's value) to another header in Nginx!
Twitter: https://twitter.com/fideloper
Facebook: https://www.facebook.com/serversforhackers/
Book: https://book.serversforhackers.com/
Deploy: https://deploy.serversforhackers.com/
Docker: https://shippingdocker.com/
Видео Mapping Headers in Nginx канала Servers for Hackers
When we use our applications behind some sort of proxy, we usually need to make the application aware it's behind a proxy.
This lets the application know to use the Forwarded or the X-Forwarded-* headers to know the protocol/schema (http vs https), port, and real client IP address.
However, sometimes we don't have the standard headers available. In those cases, we can map one header (and it's value) to another header in Nginx!
Twitter: https://twitter.com/fideloper
Facebook: https://www.facebook.com/serversforhackers/
Book: https://book.serversforhackers.com/
Deploy: https://deploy.serversforhackers.com/
Docker: https://shippingdocker.com/
Видео Mapping Headers in Nginx канала Servers for Hackers
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Secure Firewall SetupSecure User SetupSecure SSH SetupGetting Started - PHP App and PermissionsGetting Started - PHP, FPM, and Nginx ConfigGetting Started - NginxGetting Started - Linux PermissionsGetting Started - Hosting Web AppsGetting Started - Getting Around Your ServerGetting Started - Local SSH ConfigurationMySQL Backup IntroThe WorkflowDev Workflow IntroAdding a NodeJS ServiceThe Working DirectoryVariables in Docker ComposeCompose and VolumesOur App ServiceDocker Compose IntroDocker Compose Services