当前位置:网站首页>Caddy server agent
Caddy server agent
2022-07-03 18:33:00 【-Abu-】
Caddy Is a go Language development communication server , Can be used as web The server , perhaps web Agent for application , There are two biggest benefits ( I feel it myself ):
1. Open one on the server 80 port , It can represent multiple web application , That is many java、node Or other processes start web service , This one 80 Port access
2. You can directly http The agreement turned into https agreement
Official documents :Welcome — Caddy Documentation
Common operations :
To download , Then write a file named Caddyfile The file of , See the official website for specific explanations , Here is a brief explanation , similar nginx Configuration of , Define how to act as an agent .

Pictured above , You mean for api.xxx.com The domain name of access to the current machine caddy When you come up , Will be forwarded to the current machine 3002 On port process ,h5 Is the same , Forwarding to 3003 On port process .
# start-up caddy
./caddy
# Configuration file reload
./caddy reload边栏推荐
- Setinterval CPU intensive- Is setInterval CPU intensive?
- Line by line explanation of yolox source code of anchor free series network (6) -- mixup data enhancement
- Distributed task distribution framework gearman
- What problems can cross-border e-commerce sellers solve with multi platform ERP management system
- Class exercises
- PHP MySQL inserts data
- Torch learning notes (4) -- torch's dynamic calculation diagram
- [combinatorics] generating function (positive integer splitting | unordered | ordered | allowed repetition | not allowed repetition | unordered not repeated splitting | unordered repeated splitting)
- AcWing 271. Teacher Yang's photographic arrangement [multidimensional DP]
- Typescript official website tutorial
猜你喜欢

2022-2028 global scar care product industry research and trend analysis report

Redis cache avalanche, penetration, breakdown

What is SQL get connection

What problems can cross-border e-commerce sellers solve with multi platform ERP management system
![Bloom filter [proposed by bloom in 1970; redis cache penetration solution]](/img/f9/27a75454b464d59b9b3465d25fe070.jpg)
Bloom filter [proposed by bloom in 1970; redis cache penetration solution]

Should I be laid off at the age of 40? IBM is suspected of age discrimination, calling its old employees "dinosaurs" and planning to dismiss, but the employees can't refute it

Valentine's day, send you a little red flower~

win32:堆破壞的dump文件分析

Administrative division code acquisition

What London Silver Trading software supports multiple languages
随机推荐
SDNUOJ1015
Computer graduation design PHP makeup sales Beauty shopping mall
AcWing 271. Teacher Yang's photographic arrangement [multidimensional DP]
Computer graduation design PHP sports goods online sales system website
The vscode code is automatically modified to a compliance code when it is formatted and saved
English grammar_ Noun classification
189. Rotation array
Sepconv (separable revolution) code recurrence
2022-2028 global lithium battery copper foil industry research and trend analysis report
2022-2028 global physiotherapy clinic industry research and trend analysis report
Line by line explanation of yolox source code of anchor free series network (5) -- mosaic data enhancement and mathematical understanding
2022-2028 global sepsis treatment drug industry research and trend analysis report
[enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)
Codeforces Round #803 (Div. 2) C. 3SUM Closure
Boost.Asio Library
Gao Qing, Beijing University of Aeronautics and Astronautics: CIM is a natural quantum computing platform for graph data processing
Raft log replication
On Data Mining
PHP MySQL Update
Analysis of the reasons why enterprises build their own software development teams to use software manpower outsourcing services at the same time