Setup new redirect subdomain and processes
We currently use pfsense.org to host a file "j.php" which redirects requests to the appropriate (usually help) resource. For example, clicking the "Help ->FreeBSD book" menu item links to https://www.pfsense.org/j.php?jumpto=fbsdhandbook
We need to recreate this functionality on the netgate.com domain. The cleanest and more secure way to do this seems to be to setup a new subdomain, E.g.: redirect.netgate.com which will point to a new NGINX block on www.netgate.com The redirects provided will be synced with a file maintained in GitLab providing the ability to update the redirects without touching the server.
This redirect system will also be used to redirect the new user survey.
Updated by Jim Pingle almost 2 years ago
I don't think it actually uses the php file now but nginx redirects, so we might also want to take the opportunity to make better URLs to use in the menu for redirecting in general not just changing the hostname of the server. For example, redirect.netgate.com/book, or redirect.netgate.com/go/book or along those lines.