Skip to content

Commit 0ce6b89

Browse files
committed
Document Caddy configuration
1 parent 0607506 commit 0ce6b89

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ server {
8787
listen [::]:443 ssl;
8888
8989
root /home/reports/error-reporting-server/webroot/;
90-
index index.html index.htm index.php;
90+
index index.php;
9191
9292
server_name reports.phpmyadmin.net;
9393
@@ -105,6 +105,21 @@ server {
105105
include fastcgi_params;
106106
}
107107
}
108+
```
109+
- Configuration for Caddy:
110+
```Caddyfile
111+
https://reports.phpmyadmin.net {
112+
# Set this path to your site's directory.
113+
root * /home/reports/error-reporting-server/webroot/
114+
php_fastcgi unix//var/run/php8.4-fpm-reports.sock
115+
116+
# Enable the static file server.
117+
encode gzip
118+
file_server
119+
120+
try_files {path} {path}/ /index.php?{query}
121+
}
122+
108123
```
109124

110125
## OAuth configuration setup

0 commit comments

Comments
 (0)