Create an NGINX configuration with Regex to handle multiple domain redirects

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

I require an NXING configuration file to handle the following 301 redirects :

[url removed, login to view] -> redirects to -> [url removed, login to view]

example : [url removed, login to view] -> redirects to -> [url removed, login to view]

[url removed, login to view] -> redirects to -> [url removed, login to view]

example : [url removed, login to view] -> redirects to -> [url removed, login to view]

[url removed, login to view] -> redirects to -> [url removed, login to view]

example : [url removed, login to view] -> redirects to -> [url removed, login to view]

[url removed, login to view] -> redirects to -> [url removed, login to view]

example : [url removed, login to view] -> redirects to -> [url removed, login to view]

I'm looking for a single "server {" stanza that has a regular expression to handle all variations on the domain prefix and top level domain extensions. I need to avoid having separate "server {" stanza's for each TLD.

The redirect must preserve the HTTP / HTTPS scheme, as requested by the user, and redirect to [url removed, login to view] with the same.

The URI also needs to be passed in the redirect, after the /xxx component.

example : [url removed, login to view] -> redirects to -> [url removed, login to view]

I hope this all makes sense but I can provide further details if necessary.

Ingeniería Linux Nginx Expresiones regulares Administración de sistemas

Nº del proyecto: #11129786

Sobre el proyecto

1 propuesta Proyecto remoto Activo hace 7 años

Adjudicado a:

Walrusyn

Hi, I'm a Linux sysadmin with 15 years of experience and would love to help you with this task. I manage lots of Nginx servers and I think I can build the redirects you need. Looking forward to hearing from you. Best r Más

€30 EUR en 1 día
(5 comentarios)
2.8