1. The problem I’m having:
Quic Protocol should work automatically with Caddy. But for some reason it’s not working for my wesbite. There is no issue with my network or browser.
2. Error messages and/or full log output:
There is no error message in the log. (Log that shows up after running systemctl status caddy
3. Caddy version:
v2.6.4 h1:2hwYqiRwk1tf3VruhMpLcYTg+11fCdr8S3jhNAdnPy8=
4. How I installed and ran Caddy:
a. System environment:
OS : Ubuntu 22.04.2 LTS (GNU/Linux 5.19.0-1025-aws x86_64)
Installed following this guide : Install — Caddy Documentation
b. Command:
Not applicable
c. Service/unit/compose file:
d. My complete Caddy config:
nixorigin.one, www.nixorigin.one {
# Set this path to your site's directory.
root * /var/www/html/public
header {
X-Frame-Options "SAMEORIGIN"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
Referrer-Policy "same-origin"
}
php_fastcgi unix//run/php/php8.1-fpm.sock
# Enable the static file server.
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
}