forked from stove/risotto
44 lines
1.2 KiB
Caddyfile
44 lines
1.2 KiB
Caddyfile
|
# The Caddyfile is an easy way to configure your Caddy web server.
|
||
|
#
|
||
|
# https://caddyserver.com/docs/caddyfile
|
||
|
|
||
|
#>GNUNUX
|
||
|
# Global options
|
||
|
{
|
||
|
# remove administration tool
|
||
|
admin off
|
||
|
}
|
||
|
#<GNUNUX
|
||
|
|
||
|
# The configuration below serves a welcome page over HTTP on port 80. To use
|
||
|
# your own domain name with automatic HTTPS, ensure your A/AAAA DNS record is
|
||
|
# pointing to this machine's public IP, then replace `http://` with your domain
|
||
|
# name. Refer to the documentation for full instructions on the address
|
||
|
# specification.
|
||
|
#
|
||
|
# https://caddyserver.com/docs/caddyfile/concepts#addresses
|
||
|
#GNUNUX http:// {
|
||
|
|
||
|
# Set this path to your site's directory.
|
||
|
#GNUNUX root * /usr/share/caddy
|
||
|
|
||
|
# Enable the static file server.
|
||
|
#GNUNUX file_server
|
||
|
|
||
|
# 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 directive documentation for more options.
|
||
|
# https://caddyserver.com/docs/caddyfile/directives
|
||
|
|
||
|
#GNUNUX}
|
||
|
|
||
|
|
||
|
# As an alternative to editing the above site block, you can add your own site
|
||
|
# block files in the Caddyfile.d directory, and they will be included as long
|
||
|
# as they use the .caddyfile extension.
|
||
|
import Caddyfile.d/*.caddyfile
|