mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update Caddyfile
This commit is contained in:
parent
fc6a021b76
commit
ea9986978c
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Example Caddy configuration for TorrentPier
|
# Example Caddy configuration for TorrentPier
|
||||||
|
|
||||||
example.com {
|
{$TP_HOST} { # Set your host manually if you are not using Docker
|
||||||
root * /path/to/www
|
root * /app # Set your web root manually if you are not using Docker
|
||||||
encode gzip zstd
|
encode gzip zstd
|
||||||
php_fastcgi unix//run/php/php-fpm.sock
|
php_fastcgi unix//run/php/php-fpm.sock
|
||||||
try_files {path} {path}/ /index.php?{query}
|
try_files {path} {path}/ /index.php?{query}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue