Compare commits

...

4 Commits

Author SHA1 Message Date
Daniël Klabbers
4bbaae25f6
Merge pull request #92 from gomzyakov/patch-1
Fix Flarum logo in README.md
2024-06-29 21:28:45 +02:00
Alexander Gomzyakov
ecb5b6b9ab
Update README.md 2024-06-29 17:25:43 +05:00
Alexander Gomzyakov
5d98f8965b
Fix Flarum logo in README.md 2024-06-29 14:09:53 +05:00
Sami Mazouz
30bc7b40ce
chore: mark resource protection rule blocks 2024-01-02 16:03:33 +01:00
3 changed files with 5 additions and 1 deletions

View File

@ -5,10 +5,12 @@ location / {
# Uncomment the following lines if you are not using a `public` directory
# to prevent sensitive resources from being exposed.
# <!-- BEGIN EXPOSED RESOURCES PROTECTION -->
# location ~* ^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor) {
# deny all;
# return 404;
# }
# <!-- END EXPOSED RESOURCES PROTECTION -->
# The following directives are based on best practices from H5BP Nginx Server Configs
# https://github.com/h5bp/server-configs-nginx

View File

@ -1,5 +1,5 @@
<p align="center">
<a href="https://flarum.org/"><img src="https://flarum.org/assets/img/logo.png"></a>
<a href="https://flarum.org/"><img src="https://flarum.org/images/flarum.svg"></a>
</p>
<p align="center">

View File

@ -6,6 +6,7 @@
# Uncomment the following lines if you are not using a `public` directory
# to prevent sensitive resources from being exposed.
# <!-- BEGIN EXPOSED RESOURCES PROTECTION -->
# RewriteRule /\.git / [F,L]
# RewriteRule ^auth\.json$ / [F,L]
# RewriteRule ^composer\.(lock|json)$ / [F,L]
@ -13,6 +14,7 @@
# RewriteRule ^flarum$ / [F,L]
# RewriteRule ^storage/(.*)?$ / [F,L]
# RewriteRule ^vendor/(.*)?$ / [F,L]
# <!-- END EXPOSED RESOURCES PROTECTION -->
# Pass requests that don't refer directly to files in the filesystem to index.php
RewriteCond %{REQUEST_FILENAME} !-f