search
HomeTopicsPagoda PanelLet's talk about how Pagoda installs NodeJS Api and configures https

This article is provided by the tutorial column of Pagoda to introduce to you the tutorial on installing the NodeJS Api program and configuring https on the Pagoda panel. I hope it will be helpful to you if you need it!

This article is also known as: Pagoda uses pm2 to start the node service and bind the domain name

First refer to the author大水瓜: <span style="color: rgb(127, 127, 127);">https://www.bilibili.com/video/av67066415?t=91</span> Get a general understanding of the process;
Then refer to the author Zhuying Pingxi:
<span style="color: rgb(127, 127, 127);">https://www.bwmelon.com/archives/27/</span> Follow along;


# 5. Mapping program (the fifth step of synchronizing Big Watermelon)

No need here Limit the mapped port number, such as api.no0a.cn:3000 written by the author 大西瓜, which can be written as: api.no0a.cn ;
After the mapping is completed, you can see an extra site in the website list of the panel;

It is worth noting that, for example, my own project is based on port 4000, then

  • Need to open port 4000 (Both Pagoda and Alibaba Cloud security groups need to be opened)

  • You need to access the api like this: api.no0a.cn:4000

# 6. Domain name reverse generation (sixth step of synchronizing Big Watermelon)

Always cannot access the api when actually accessing it api.no0a.cn:4000/api/login This way, it is a bit ugly.
As written by the author 大西瓜, just configure it:

location / {
    proxy_pass http://127.0.0.1:4000;
}

Like this You can access our api through port 80

# 7. Configure https (the seventh step of synchronizing Big Watermelon)

This step is even simpler, directly Download the certificate from Alibaba Cloud SSL, then copy and paste the certificate content into the SSL configuration of the Pagoda site


# 8. Finally

Lets talk about how Pagoda installs NodeJS Api and configures https


The above is the detailed content of Let's talk about how Pagoda installs NodeJS Api and configures https. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:segmentfault. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Atom editor mac version download

Atom editor mac version download

The most popular open source editor