We need to include gitignores so that installations with composer will
include these files in storage. This will assist people in committing
new installs into git without losing those folders.
The previous commit was reverted because it would mark these folders to
be tracked by git again, which is not what we want.
When you install using composer the .gitattributes causes the gitignore
files inside the storage folders (and the root) to disappear. If you
then try to commit the project to git it won't include these folders,
nor show you that you can include them.
With this change we renamed the gitignores to gitkeep to ensure these
files remain part of your installation when installing with composer.
They will then also show up in your git to be versioned.
When I was reading README.md,
I clicked the logo and I expected to go to
the official website https://flarum.org/
but it didn't. So, the image is being linked
to the official website in this commit.
Signed-off-by: Soobin Rho <soobinrho@gmail.com>
Why do we even have this ~~lever~~ line?
Looks like a bit of oversight when we consolidated docs and updated for stable. Probably made sense at the time, now we have installation docs that we keep up to date. Remove this line to prevent confusion because it's out of date.
* Add IIS config for easier windows setup
* Use regex from .nginx.conf and comment out rule
Uses the more common regex which reduces the number of rules and also commented out for consistency with nginx and apache
* Used enabled flag for no-public restrictions
Also fixes any indentations
* nginx rule to prevent access to sensitive files
* Add a suggested rule that does the same as the suggested rule in .htaccess
* Add .git and auth.json to nginx sensitive resources