mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-11 01:19:56 +01:00
Create Caddyfile-nossl
This commit is contained in:
22
zenphoto/includes/Caddyfile-nossl
Normal file
22
zenphoto/includes/Caddyfile-nossl
Normal file
@@ -0,0 +1,22 @@
|
||||
:80 {
|
||||
|
||||
root * /usr/local/www/zenphoto
|
||||
file_server
|
||||
|
||||
php_fastcgi 127.0.0.1:9000
|
||||
|
||||
log {
|
||||
output file /var/log/zenphoto.log
|
||||
}
|
||||
|
||||
@forbidden {
|
||||
path /.htaccess
|
||||
path *.cfg
|
||||
path *.log
|
||||
path *.zdb
|
||||
path *.xxx
|
||||
}
|
||||
|
||||
respond @forbidden 404
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user