Created
January 23, 2019 19:25
-
-
Save joetemp/64144a342a2cef8ce73b054b1f84ac42 to your computer and use it in GitHub Desktop.
Nginx Config
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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name ateamrebuild.com www.ateamrebuild.com; | |
root /var/www/html/ateamrebuild.com/public_html; | |
index index.html; | |
location / { | |
try_files $uri $uri/ =404; | |
} | |
location ~* \.php$ { | |
fastcgi_pass unix:/run/php/php7.2-fpm.sock; | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param SCRIPT_NAME $fastcgi_script_name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment