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
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.