Browse Source

Add Caddyfile

master
Alex Barilaro 2 years ago
parent
commit
23e591107b
  1. 10
      Caddyfile

10
Caddyfile

@ -0,0 +1,10 @@
www.yourdomain.com { # Redirect WWW to non-WWW
redir https://yourdomain.com{uri} permanent
}
yourdomain.com { # Main site
file_server browse
root * /site
}
git.yourdomain.com{ # Gitea reverse proxy
reverse_proxy gitea:3000
}
Loading…
Cancel
Save