Naive

date
Feb 19, 2023
slug
naive
status
Published
tags
Others
summary
你们啊,Naive!
type
Post

Use naive to pass wall

 
This is a technical guide for installing and setting up a server running Caddy, a web server and proxy. The guide provides instructions for installing server oracle linux or server ubuntu, installing caddy and forwardproxy, configuring the Caddyfile, and running Caddy as a daemon.

Install server oracle linux

install ssl licence (ref: Duang's Blog - X-ui面板安装以及ssl申请 (duangvps.com))

install caddy

 
 

Install server ubuntu

install go

install xcaddy

 

low-end vm need to use swap

build

 

Run Caddy as a daemon

Next, create caddy.service  under /etc/systemd/system/  with the following contents:
 

© Ric Li 2021 - 2024