当前位置:网站首页>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边栏推荐
- Three gradient descent methods and code implementation
- PHP MySQL where clause
- [LINUX]CentOS 7 安装MYSQL时报错“No package mysql-server available“No package zabbix-server-mysql availabl
- PHP MySQL inserts multiple pieces of data
- Have you learned the correct expression posture of programmers on Valentine's day?
- Computer graduation design PHP makeup sales Beauty shopping mall
- MySQL duplicate check
- Valentine's day, send you a little red flower~
- 多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
- [enumeration] annoying frogs always step on my rice fields: (who is the most hateful? (POJ hundred practice 2812)
猜你喜欢

G1 garbage collector of garbage collector

2022-2028 global marking ink industry research and trend analysis report

4. Load balancing and dynamic static separation

Redis core technology and practice - learning notes (IX): slicing cluster

Module 9 operation

Read the paper glodyne global topology preserving dynamic network embedding

Redis core technology and practice - learning notes (VIII) sentinel cluster: sentinel hung up

How do microservices aggregate API documents? This wave of operation is too good

虚拟机和开发板互Ping问题

多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
随机推荐
Redis core technology and practice - learning notes (IX): slicing cluster
How to quickly view the inheritance methods of existing models in torchvision?
Bloom filter [proposed by bloom in 1970; redis cache penetration solution]
模块九作业
[Tongxin UOS] scanner device management driver installation
PHP MySQL reads data
Typescript official website tutorial
How many convolution methods does deep learning have? (including drawings)
Coordinate layer conversion tool (video)
2022-2028 global sepsis treatment drug industry research and trend analysis report
On Data Mining
Line by line explanation of yolox source code of anchor free series network (5) -- mosaic data enhancement and mathematical understanding
[combinatorics] generating function (use generating function to solve the number of solutions of indefinite equation)
How do microservices aggregate API documents? This wave of operation is too good
Raft 日志复制
Redis core technology and practice - learning notes (11): why not just string
Introduction to PHP MySQL
PHP MySQL Update
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
Unsafe类的使用