mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update Caddyfile
This commit is contained in:
parent
946282252f
commit
6334c24235
1 changed files with 3 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
||||||
# Example Caddy configuration for TorrentPier
|
# Example Caddy configuration for TorrentPier
|
||||||
|
|
||||||
{$TP_HOST} { # Set your host manually if you are not using Docker
|
example.com {
|
||||||
root * /app # Set your web root manually if you are not using Docker
|
root * /path/to/www
|
||||||
encode gzip zstd
|
encode gzip zstd
|
||||||
php_fastcgi app:9000 # Used for Docker
|
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}
|
||||||
file_server
|
file_server
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue