Create an NGINX configuration with Regex to handle multiple domain redirects

Ukończone Opublikowano 7 lat temu Płatność przy odbiorze
Ukończone Płatność przy odbiorze

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.

Inżynieria Linux Nginx Wyrażenia Regularne Administrator systemu

Numer ID Projektu: #11129786

O projekcie

1 oferta Zdalny projekt Aktywny 7 lat temu

Przyznany użytkownikowi:

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 Więcej

€30 EUR w 1 dzień
(5 ocen)
2.8