On Mon, Jul 12, 2021 at 05:45:23PM +0530, Praveen Kumar K S wrote: Hi there,
> Is there any way to permanently redirect abc.com/def to xyz.com ? > I have tried return 301. But the context /def is being passed to xyz.com location = /def { return 301 http://xyz.com/; } If that does not do what you want, can you show the output of curl -i http://abc.com/def to see what the Location: header says. f -- Francis Daly fran...@daoine.org _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx