B.R.
October 21, 2013 10:24AM
I'm glad it helped. Maybe there are still some improvements, I'll let
others pointing them out...

You must have good reasons for preferring temporary redirects other than
permanent ones, but if you really wants to redirect all traffic to the
index and you don't serve existing files using their direct URI later,
using the permanent redirection mechanism takes advantage of the browser
cache to avoid getting hit with the same request later... Saves bandwith +
requests processing time.

However, if the client is in some way authenticated and may access those
protected resources later, then that may be a problem indeed... ^^

I guess you know what you are doing already. Just sayin'.
---
*B. R.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Make 1 root file accessible, and serve it for all requests

Jonah October 20, 2013 11:58PM

Re: Make 1 root file accessible, and serve it for all requests

B.R. October 21, 2013 01:04AM

Re: Make 1 root file accessible, and serve it for all requests

Jonah October 21, 2013 06:23AM

Re: Make 1 root file accessible, and serve it for all requests

B.R. October 21, 2013 10:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 277
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