mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
up templates
This commit is contained in:
parent
b1965abe06
commit
f15fec6d18
12 changed files with 185 additions and 105 deletions
24
cipherbliss-osm-commerce.config.caddy
Normal file
24
cipherbliss-osm-commerce.config.caddy
Normal file
|
@ -0,0 +1,24 @@
|
|||
osm-commerces.cipherbliss.com {
|
||||
root * /home/poule/encrypted/stockage-syncable/www/development/html/osm-commerce-sf/public
|
||||
|
||||
# serve files directly if they can be found (e.g. CSS or JS files in public/)
|
||||
encode zstd gzip
|
||||
file_server
|
||||
|
||||
# otherwise, use PHP-FPM (replace "unix//var/..." with "127.0.0.1:9000" when using TCP)
|
||||
php_fastcgi unix//var/run/php/php8.4-fpm.sock {
|
||||
# only fall back to root index.php aka front controller.
|
||||
try_files {path} index.php
|
||||
}
|
||||
|
||||
# Logs
|
||||
log {
|
||||
output file /var/log/caddy/access-osm-commerce-sf.log
|
||||
format console
|
||||
}
|
||||
|
||||
@phpFile {
|
||||
path *.php*
|
||||
}
|
||||
error @phpFile "Not found" 404
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue