summarylogtreecommitdiffstats
path: root/caddy.conf
diff options
context:
space:
mode:
authorAlice Gaudon2020-07-09 14:53:59 +0200
committerGitHub2020-07-09 14:53:59 +0200
commit6894576fc1b22f4fa850875ef1c79725a1b3b897 (patch)
tree48cc13c9596fdf0370f608d9d499bf1a7f3e8d05 /caddy.conf
parentd6a801c8ca2282b118d4f66c4b301f091349b982 (diff)
parent9401e800408cde5d4fb4d8a866dd604463c5a2ac (diff)
downloadaur-6894576fc1b22f4fa850875ef1c79725a1b3b897.tar.gz
Merge pull request #1 from ArisuOngaku/next-rebase
Remove caddy2.install and base the rest of the package on official current `next` branch
Diffstat (limited to 'caddy.conf')
-rw-r--r--caddy.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/caddy.conf b/caddy.conf
new file mode 100644
index 000000000000..1aec2b840bae
--- /dev/null
+++ b/caddy.conf
@@ -0,0 +1,28 @@
+# The Caddyfile is an easy way to configure your Caddy web server.
+#
+# Unless the file starts with a global options block, the first
+# uncommented line is always the address of your site.
+#
+# To use your own domain name (with automatic HTTPS), first make
+# sure your domain's A/AAAA DNS records are properly pointed to
+# this machine's public IP, then replace the line below with your
+# domain name.
+:80
+
+# Set this path to your site's directory.
+root * /usr/share/caddy
+
+# Enable the static file server.
+file_server
+
+# Import additional caddy config files in /etc/caddy/conf.d/
+import /etc/caddy/conf.d/*
+
+# Another common task is to set up a reverse proxy:
+# reverse_proxy localhost:8080
+
+# Or serve a PHP site through php-fpm:
+# php_fastcgi localhost:9000
+
+# Refer to the Caddy docs for more information:
+# https://github.com/caddyserver/caddy/wiki/v2:-Documentation