Created
July 25, 2018 02:51
-
-
Save anderfernandes/4ac0bb3185332f0bf999d13ba4b7cb53 to your computer and use it in GitHub Desktop.
This file contains 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
1. Install web server | |
2. Edit configuration: setup access and error logs, http portion and server portion. Root should be /public | |
3. Setup php-fpm (nginx), fastcgi (IIS), install package if needed and setup bindings in web server config file | |
4. Configure url parameters, eg. nginx: | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; | |
} | |
5. Make sure permissions to /public are: directory (755) and file (644), if changes are needed, use chmod | |
6. Make user running nginx owner of the directory and files, if changes are needed, use chown -R | |
7. Make sure storage and bootstrap/cache have the same permissions mentioned in step 4. | |
8. That's it!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment