themis: add BookStack httpd configuration
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
7a2a354091
commit
5aaad6f6ca
35
pillar/id/themis_lysergic_dev.sls
Normal file
35
pillar/id/themis_lysergic_dev.sls
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
apache:
|
||||||
|
sites:
|
||||||
|
BookStack:
|
||||||
|
interface: '[fd29:8e45:f292:ff80::1]'
|
||||||
|
port: 443
|
||||||
|
ServerName: bookstack.themis.backend.syscid.com
|
||||||
|
DocumentRoot: /srv/www/BookStack/
|
||||||
|
DirectoryIndex: index.php
|
||||||
|
Directory:
|
||||||
|
/srv/www/BookStack/:
|
||||||
|
Options: 'Indexes FollowSymLinks -MultiViews'
|
||||||
|
AllowOverride: None
|
||||||
|
Require: all granted
|
||||||
|
Formula_Append: |
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond '%{HTTP:Authorization} .'
|
||||||
|
RewriteCond '.* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]'
|
||||||
|
RewriteCond '%{REQUEST_FILENAME} !-d'
|
||||||
|
RewriteCond '%{REQUEST_URI} (.+)/$'
|
||||||
|
RewriteCond '^ %1 [L,R=301]'
|
||||||
|
RewriteCond '%{REQUEST_FILENAME} !-d'
|
||||||
|
RewriteCond '%{REQUEST_FILENAME} !-f'
|
||||||
|
RewriteCond '^ index.php [L]'
|
||||||
|
LogLevel: False
|
||||||
|
ErrorLog: False
|
||||||
|
LogFormat: False
|
||||||
|
CustomLog: False
|
||||||
|
ServerAdmin: False
|
||||||
|
ServerAlias: False
|
||||||
|
Formula_Append: |
|
||||||
|
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
|
||||||
|
SetOutputFilter DEFLATE
|
||||||
|
<FilesMatch '\.php$'>
|
||||||
|
SetHandler 'proxy:unix:/run/php-fpm/BookStack.sock|fcgi://BookStack'
|
||||||
|
</FilesMatch>
|
Loading…
Reference in New Issue
Block a user