Skip to content

About

Personal dev blog

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

My personal blog project

Setup

  1. install dependency

npm install

  1. run project locally
  • start dev server: npm run dev

  • view in browser: http://localhost:9001

Nginx config

on the server, nginx config is as follows:

server {
	listen 80;
	server_name www.blog.realrz.com blog.realrz.com;
	location / {
		proxy_pass http://127.0.0.1:9001;
	}
}

nginx, upon receiving a request will proxy it to port 9001

Deployment

pm2 start npm --name "blog.realrz.com" -- run serve

About

Personal dev blog

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages