toomuchio / plex-nginx-reverseproxy

Configuration to serve Plex Media Center https://plex.tv using Nginx https://nginx.com
659 stars 94 forks source link

Update to prevent host spoofing #20

Closed ryansonshine closed 7 years ago

ryansonshine commented 7 years ago

This change updates $http_host to $host to prevent host spoofing. See more here: https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md