nginx:redirects
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
nginx:redirects [2017/02/22 11:56] – created peter | nginx:redirects [2019/12/01 10:41] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== nginx - Redirects ====== | ||
- | |||
- | ===== Temporary Redirect ===== | ||
- | |||
- | <file bash / | ||
- | rewrite ^/ | ||
- | </ | ||
- | |||
- | <WRAP information> | ||
- | Temporary redirects (response status code 302 Found) are useful if a URL temporarily needs to be served from a different location. For example, if you are performing site maintenance, | ||
- | </ | ||
- | |||
- | ===== Permanent Redirect ===== | ||
- | |||
- | <file bash> | ||
- | rewrite ^/ | ||
- | </ | ||
- | |||
- | <WRAP information> | ||
- | Permanent redirects (response status code 301 Moved Permanently), | ||
- | </ | ||
nginx/redirects.1487764571.txt.gz · Last modified: 2020/07/15 09:30 (external edit)