Skip to content
Snippets Groups Projects

Merge till Production

Merged Alexander Olofsson requested to merge production into production
1 file
+ 21
0
Compare changes
  • Side-by-side
  • Inline
+ 21
0
@@ -98,6 +98,27 @@ class skadereg {
docroot => '/var/www/skadereg/public',
proxy_preserve_host => true,
allow_encoded_slashes => 'on',
rewrites => [
{
'rewrite_cond' => [
'%{REQUEST_FILENAME} !-d',
],
'rewrite_rule' => [ '^(.*)/$ /$1 [L,R=301]' ]
},
{
'rewrite_cond' => [
'%{HTTP:Authorization} ^(.*)'
],
'rewrite_rule' => [ '.* - [e=HTTP_AUTHORIZATION:%1]' ],
},
{
'rewrite_cond' => [
'%{REQUEST_FILENAME} !-d',
'%{REQUEST_FILENAME} !-f',
],
'rewrite_rule' => [ '^ index.php [L]' ],
},
],
}
file { '/var/www/skadereg/':
Loading