<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi!</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">You can rewrite the uri in the special server {} by the “rewrite” directive.</div> <br> <div id="bloop_sign_1501414438576171776" class="bloop_sign"></div> <br><p class="airmail_on">On 30 July 2017 at 19:09:27, ST (<a href="mailto:smntov@gmail.com">smntov@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Hello,
<br>
<br>I have a lot of server{}s with different server_names all over my setup.
<br>I want to serve robots_closed.txt instead of robot.txt for all but one
<br>domain. And for that one domain, let's say <a href="http://example.org">example.org</a>, I want robot.txt
<br>to served normally. What is the right way to achieve that without
<br>writing an explicit redirect in all the server{}s?
<br>
<br>Thank you!
<br>
<br>_______________________________________________
<br>nginx mailing list
<br><a href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<br><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a>
<br></div></div></span></blockquote></body></html>