Skip to content

Commit

Permalink
fix for some apache
Browse files Browse the repository at this point in the history
  • Loading branch information
azlux authored May 18, 2020
1 parent 56c434d commit fe1abf5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ location ~* \.(sqlite3|ht)$ {
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php?site=$1
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Header always set Strict-Transport-Security "max-age=31536000; preload" env=HTTPS
RewriteRule ^([a-zA-Z0-9]+)/?$ index.php?site=$1 [L]
```

### Credit :
Expand Down

0 comments on commit fe1abf5

Please sign in to comment.