Monday, 16th December 2019 - 21:08:55 Asia/Krasnoyarsk +07

Home

apache
env
caddy
links
test
tutorials
help
violin
Caddy Stuff goes here
Welcome back, John_Betong!

Account ID   e9k5s994pT
API Key  a17bab7ccd102b9a61b21cfe576f53a4

# Last Call - Dave Van Ronk (https://youtu.be/AaRTvAFIYF4)
  [off-topic]
  Lawrence Block's:
  A Matthew Scudder novel, When The Sacred Gin Mill Closes
  [/off-topic]

# HISTORY
  sudo updatedb

# WHEREIS CADDY
  /etc/caddy 
  /usr/local/bin/caddy

# CADDY COMMANDS
  caddy -env

# COMMANDS
  sudo systemctl start  caddy
  sudo systemctl stop   caddy
  sudo systemctl status caddy

  sudo systemctl stop  caddy && \
  sudo systemctl start caddy && \
  sudo systemctl status cadddy

# WARNING: 
  # File descriptor limit 1024 is too low for production servers. 
  # At least 8192 is recommended. Fix with `ulimit -n 8192`.
  sudo setcap 'cap_net_bind_service=+ep' /usr/local/bin/caddy

# CADDYFILE
  /etc/caddy/Caddyfile
  :80 {
    root /var/www/ peacevase.tk
  }

# Installed
# https://hostadvice.com/how-to/
  how-to-install-configure-the-caddy-web-server-on-an-ubuntu-18-04-vps/  

sudo echo "Caddy" > /var/www/peacevase.tk/index.html
sudo chown -R www-data: /var/www/peacevase.tk



Wonderful place for a footer