Created
April 3, 2017 10:15
-
-
Save aseredenko/a807c72e7641b0cf80080ca5c254bd93 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Sets the default security model of the Apache2 HTTPD server. It does | |
| # not allow access to the root filesystem outside of /usr/share and /var/www. | |
| # The former is used by web applications packaged in Debian, | |
| # the latter may be used for local directories served by the web server. If | |
| # your system is serving content from a sub-directory in /srv you must allow | |
| # access here, or in any related virtual host. | |
| <Directory /> | |
| Options FollowSymLinks | |
| AllowOverride None | |
| Require all denied | |
| </Directory> | |
| <Directory /home/deploy/sites> | |
| AllowOverride All | |
| Require all granted | |
| </Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment