Hello, location ~ ^/api/v(\d)/foo/bar/(.*) { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; proxy_max_temp_file_size 0; proxy_pass http://$http_x_destination_host:$http_x_destination_port/$uri; } What I'm looking for is to have X-Destination-Host aby masterkain - Nginx Mailing List - English
Hello, I'm currently including the default table on mime types: include mime.types; I would like to add two additional mime types not included in this list, I should edit the file directly (which I dislike) or can I add another types {} block in nginx.conf directly and they will be merged? Thanks.by masterkain - Nginx Mailing List - English