New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't build/serve website from NGINX #3636
Comments
The first thing I can do is delete the website contents from the server. It's outdated now anyway. @nodejs/build-infra wdyt? |
👍 Not build infra, but removing the site content seems like a good first step and would solve for the Google indexing issue (and act as a confirmation we don't need it before removing all the code/config for building/serving it). |
I moved all website files to a folder at Remains:
|
Website is now built and deployed on Vercel infra Refs: #3636
Opened #3641 to remove the build scripts and webhook. |
Website is now built and deployed on Vercel infra Refs: #3636
The website is now served from Vercel, so it is redundant to serve it from NGINX as well. It has also been observed that the version from NGINX that is available at origin.nodejs.org is being indexed in Google, so removing it should resolve this.
It should be called out that the
dist
,download
,docs
,api
, etc. should still be served from NGINX.The site build script can be removed, as well as various parts of the NGINX config relating to the serving of Next.js:
build/ansible/www-standalone/resources/config/nodejs.org
Lines 114 to 117 in 0a0ed87
build/ansible/www-standalone/resources/config/nodejs.org
Lines 124 to 172 in 0a0ed87
build/ansible/www-standalone/resources/config/nodejs.org
Lines 264 to 292 in 0a0ed87
build/ansible/www-standalone/tasks/site-setup.yaml
Line 92 in 0a0ed87
build/ansible/www-standalone/tasks/site-setup.yaml
Line 102 in 0a0ed87
build/ansible/www-standalone/resources/scripts/check-build-site.sh
Lines 5 to 6 in 0a0ed87
build/ansible/www-standalone/resources/scripts/build-site.sh
Lines 7 to 8 in 0a0ed87
build/ansible/www-standalone/resources/scripts/build-site.sh
Lines 23 to 26 in 0a0ed87
I'm probably missing some other bits.
The text was updated successfully, but these errors were encountered: