that works, thanks.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,239683,239699#msg-239699
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Thursday 30 May 2013 16:25:18 angelochen960 wrote:
> Thanks for the reply, it works, and also I read again those references. a
> related issue, say:
>
> if somebody enter this url in the browser: http://sample.com/not_exist_url
>
> and I'd like to redirect it to
>
> http://sample.com/
>
> w
Thanks for the reply, it works, and also I read again those references. a
related issue, say:
if somebody enter this url in the browser: http://sample.com/not_exist_url
and I'd like to redirect it to
http://sample.com/
with the try_files approach, index.html got displayed, that's right, but th
Hi,
new in ths nginx, with following config, I want to achieve:
http://sample.com/ render index.html
http://sample.com/test, or anything after '/' path, render index.html
server {
listen 80;
server_name sample.com ;
root /var/www/sample/public_html;
location / {