当前位置:网站首页>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
边栏推荐
- [combinatorics] generating function (example of generating function | calculating generating function with given general term formula | calculating general term formula with given generating function)
- 042. (2.11) do it when it's time to do it
- [Godot] add menu button
- [combinatorics] generating function (use generating function to solve the number of solutions of indefinite equation)
- 编程中常见的 Foo 是什么意思?
- Torch learning notes (2) -- 11 common operation modes of tensor
- Redis on local access server
- Solve the problem of inaccurate network traffic monitored by ZABBIX with SNMP
- WebView module manages the application window interface to realize the logical control and management operation of multiple windows (Part 1)
- Read the paper glodyne global topology preserving dynamic network embedding
猜你喜欢
Kratos微服务框架下实现CQRS架构模式
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
How do microservices aggregate API documents? This wave of operation is too good
Win32: dump file analysis of heap corruption
English grammar_ Adjective / adverb Level 3 - multiple expression
How many convolution methods does deep learning have? (including drawings)
Computer graduation project PHP library book borrowing management system
Three gradient descent methods and code implementation
Opencv learning notes (continuously updated)
Real time split network (continuous update)
随机推荐
TypeScript 官网教程
[untitled]
Torch learning notes (4) -- torch's dynamic calculation diagram
Module 9 operation
PHP determines which constellation it belongs to today
Redis core technology and practice - learning notes (VII) sentinel mechanism
PHP MySQL inserts data
Use of unsafe class
Prototype inheritance..
189. Rotation array
How to track the real-time trend of Bank of London
Torch learning notes (7) -- take lenet as an example for dataload operation (detailed explanation + reserve knowledge supplement)
WebView module manages the application window interface to realize the logical control and management operation of multiple windows (Part 1)
Opencv learning notes (continuously updated)
Image 24 bit depth to 8 bit depth
PHP MySQL inserts multiple pieces of data
webcodecs
Bloom filter [proposed by bloom in 1970; redis cache penetration solution]
This diversion
How to expand the capacity of golang slice slice