Some times I need to deploy SPA (create-react-app, Vue, Angular) with nginx on my server. And here is the boilerplate for nginx configuration that allows you to modify it according to your requirements.
ALL POSTS
Configuration Boilerplate for SPA with Nginx
Configuring SSL for HTTPS with Certbot + Let's Encrypt + Nginx
Let's Encrypt makes HTTPS available to everyone for free. In this article, we will introduce how to use the Certbot application tool to configure an SSL certificate for HTTPS of a domain name on a personal server.
Some Examples of Nginx Proxy Forwarding
This article gives three examples of Nginx proxy forwarding: forwarding domain name requests to a local port, forwarding domain name requests to another domain name, and forwarding a local port to another port or another domain name.
Why Are Node Operations Rarely Used in Frontend?
Because browsers have inherent defects in DOM manipulation. First of all, we need to know how the browser renders the code into a view after receiving the web page.
Electron: Some IPC Ways
IPC, Inter-Process Communication, I's said that some technologies or methods for transmitting information or signals between at least two processes or threads. The above description comes from WIKI, which means that the method of transmitting information between Main Process and BrowserWindow is IPC.
Operating System Notes: Two Methods of Multiprocessor Scheduling
An introduction to two methods of multiprocessor scheduling is given: symmetric multiprocessing and asymmetric multiprocessing.
Some Basic Bash-Script Code Block
Some basic bash-script code example. It might be help if writing some temporary work-scripts.
Closure in JavaScript
Give the definition of closure in JavaScript and understand it by examples.