Editing
Web Server
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
The Synology hosts [https://wreckroom.nyc https://wreckroom.nyc] over 443 using a NGINX Reverse Proxy via <code>localhost:3000</code>. =Updating Copy to Website= # Commit changes on GitHub ## app/page.js (replace text in the <code><Card /></code> components ## app/components/layout/Mission.js # in terminal, execute ## <code>ssh userName@wreckroom.nyc</code> ## <code>cd /volume2/wreckroom.nyc/wreckroom.nyc</code> ## <code>git pull</code> ## <code>sudo pm2 delete all</code> ## <code>sudo pm2 start "npm run dev" -- start</code> ==PM2== '''PM2''' is a process manager that serves the [https://en.wikipedia.org/wiki/Npm npm] NextJS App [https://wreckroom.nyc https://wreckroom.nyc] Upon restarting the Synology, you will to restart PM2 in <code>cd /volume2/wreckroom.nyc/wreckroom.nyc</code> by following these steps: #End all processes: <code>sudo pm2 delete all</code>. #Start the [https://en.wikipedia.org/wiki/Npm npm] process using '''PM2''': <code>sudo pm2 start npm -- start</code>. If you are having issues with '''PM2''' process manager serving the NextJS app (when <code>sudo npm run start</code> works fine), use the above steps as well. If having trouble running npm run start due to fonts or other issues try <code>sudo pm2 start "npm run dev" -- start</code> ==Certificates== If you make changes to a Certificate's FQDN, in addition to migrating the certificate, you ''must'' go to Control Panel / Login Portal / Advanced / Reverse Proxy. The hostname must be changed there for everything to work properly! This took half a day to figure out last time, hope it saves you some time in the future :)
Summary:
Please note that all contributions to Wreckroom may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wreckroom:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information