<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New server prep - Ubuntu 20.24 LTS - Nodejs 18]]></title><description><![CDATA[<pre><code># apt-get update
# apt-get upgrade

# curl -sL https://deb.nodesource.com/setup_22.x -o /tmp/nodesource_setup.sh
# sh /tmp/nodesource_setup.sh
# apt-get install nodejs
</code></pre>
<p dir="auto">Ref: <a href="https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04" rel="nofollow ugc">https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04</a></p>
]]></description><link>https://bb.aizu.my/topic/4/new-server-prep-ubuntu-20-24-lts-nodejs-18</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 16:23:15 GMT</lastBuildDate><atom:link href="https://bb.aizu.my/topic/4.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Jan 2023 07:05:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New server prep - Ubuntu 20.24 LTS - Nodejs 18 on Wed, 25 Jan 2023 07:05:30 GMT]]></title><description><![CDATA[<pre><code>rewrite ^/(.*)$ https://destination.domain.com/$1 permanent;
</code></pre>
]]></description><link>https://bb.aizu.my/post/6</link><guid isPermaLink="true">https://bb.aizu.my/post/6</guid><dc:creator><![CDATA[aizu]]></dc:creator><pubDate>Wed, 25 Jan 2023 07:05:30 GMT</pubDate></item><item><title><![CDATA[Reply to New server prep - Ubuntu 20.24 LTS - Nodejs 18 on Fri, 05 Apr 2024 17:33:51 GMT]]></title><description><![CDATA[<pre><code>server {
        listen 80;
        server_name localhost;

        root /var/www/html/domain.com/source/static/;
	index index.html;

        location / {
                proxy_pass http://127.0.0.1:3000;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
                proxy_read_timeout 600s;
        }

	location /static {
		alias /var/www/html/domain.com/source/static/;
		index index.html;
	}
}
</code></pre>
<pre><code>server {
        listen 80;
        server_name static.domain.com;
        root /var/www/html/static.domain.com/;
	index index.html;
        location / {
                try_files $uri /index.html =404;
        }
}
</code></pre>
]]></description><link>https://bb.aizu.my/post/5</link><guid isPermaLink="true">https://bb.aizu.my/post/5</guid><dc:creator><![CDATA[aizu]]></dc:creator><pubDate>Fri, 05 Apr 2024 17:33:51 GMT</pubDate></item></channel></rss>