I have the following nginx config which is servering a few static pages. It sits behind a load balancer and is not listening on the public host name. The problem with the below is nginx sends a 301 back to add a trailing slash but it sets the location to internal.mysite.production/blog/ not www.mysite.com/blog/
server { listen 80; server_name internal.mysite.production location /blog { root /var/www/somewhere/; } } Is there an option to change this?