Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(nginx): updated nodejs.org configuration (#3139)
This PR introduces several Nginx changes that simplify the current configuration and fix current bugs. Configuration changes - Merge HTTP and HTTPS server blocks for redirects - Removes non-needed configuration from the default nodejs.org:80 server block - Removes the nodejs.org:80 redirect to nodejs.org:443 server block in favor of a return 301 rule - Removes legacy rules such as (/blog redirecting to blog.nodejs.org), which could cause a "too many redirects" error - Fixes the blog.nodejs.org:80 configuration which caused "too many redirects" and was broken - Removed broken server rules such as the newsletter.nodejs.org - Fixed broken foundation.nodejs.org location rules to the respective links of openjsf.org:443 - Reorganised the file (first both 80/443 ports for nodejs.org then all the extras) - Added @todo's for the upcoming Next.js rewrite of nodejs.org
- Loading branch information