su -
apt-get install sudo -y
useradd user # if user was not created on build
usermod -aG sudo user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:443 { | |
tls /path/to/caddy/cert.pem /path/to/caddyfiles/key.pem | |
reverse_proxy 127.0.0.1:11434 { | |
header_up Host {host} | |
header_up Origin "" | |
header_up Referer "" | |
} | |
} # for ollama | |
:8443 { |