location ~ /issue([0-9]+) {
return 301 http://example.com/shop/issues/custom_isse_name$1;
}
More Related Contents:
- Setup nginx not to crash if host in upstream is not found
- Nginx — static file serving confusion with root & alias
- Nginx: Redirect non-www to www https
- Why is nginx responding to any domain name?
- How to edit nginx.conf to increase file size upload
- Nginx reverse proxy causing 504 Gateway Timeout
- Possible reason for NGINX 499 error codes
- nginx – client_max_body_size has no effect
- NGINX: upstream timed out (110: Connection timed out) while reading response header from upstream
- uwsgi upstart on amazon linux
- How to set the allowed url length for a nginx request (error code: 414, uri too large)
- How to write a url rewrite in nginx?
- nginx reverse proxy – how to serve multiple apps
- Tuning nginx worker_process to obtain 100k hits per min
- Dealing with nginx 400 “The plain HTTP request was sent to HTTPS port” error
- nginx: [emerg] “server” directive is not allowed here
- NGinx Default public www location?
- Use nginx to serve static files from subdirectories of a given directory
- How to serve all existing static files directly with NGINX, but proxy the rest to a backend server.
- How do you change the server header returned by nginx?
- Configure nginx with multiple locations with different root folders on subdomain
- nginx server_name wildcard or catch-all
- “proxy_pass” cannot have URI part in location given by regular expression
- Nginx reverse proxy multiple backends
- nginx showing blank PHP pages
- nginx proxy_pass 404 error, don’t understand why
- NGINX try_files + alias directives
- nginx redirect HTTPS to HTTP
- Jenkins: How to configure Jenkins behind Nginx reverse proxy for JNLP slaves to connect
- How to fix nginx throws 400 bad request headers on any header testing tools?