Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
server {
root /var/www/teachmeunity.com;
index index.html index.htm;
server_name www.teachmeunity.com teachmeunity.com;
location / {
try_files $uri $uri/ /index.html;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment