Tag: 301-redirect

Nginx reverse proxy + URL rewrite

The Question : 203 people think this question is useful Nginx is running on port 80, and I’m using it to reverse proxy URLs with path /foo to port 3200 this way: This works fine, but I have an application on port 3200, for which I don’t want the initial /foo to be sent to.

mod rewrite – Redirect, Change URLs or Redirect HTTP to HTTPS in Apache – Everything You Ever Wanted to Know About mod_rewrite Rules but Were Afraid to Ask

The Question : 270 people think this question is useful This is a Canonical Question about Apache’s mod_rewrite. Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as: Changing HTTP to HTTPS (or the other way around) Changing a