Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0banana authored Feb 15, 2020
1 parent b97fce3 commit 9d3905e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ location ~* \.(sqlite3|ht)$ {
```
### Apache configuration (.htaccess) :
(delete the file if you are on nginx)
```
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
```

### Credit :
Based on code provided by [SilouFR](https://github.com/SilouFr)
Expand Down

0 comments on commit 9d3905e

Please sign in to comment.