Skip to content

Commit

Permalink
Merge pull request #61 from shopware/disable-serving-notfound-assets-…
Browse files Browse the repository at this point in the history
…shopware

Disable serveing not found pages with caddy
  • Loading branch information
shyim authored Jan 25, 2024
2 parents feab9f5 + feb33b4 commit 4a30613
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rootfs/etc/caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
log

route {
@default {
not path /theme/* /media/* /thumbnail/* /bundles/* /sitemap/*
}
root * /var/www/html/public
php_fastcgi unix//tmp/php-fpm.sock {
php_fastcgi @default unix//tmp/php-fpm.sock {
trusted_proxies private_ranges
}
encode gzip
Expand Down

0 comments on commit 4a30613

Please sign in to comment.