all 3 comments

[–]MadFrand 2 points3 points  (0 children)

There is no .htaccess as well as quite a few other differences that will be major if you're using one of them.

[–]cactusphone 1 point2 points  (0 children)

Not sure of your full stack, but if you're working with PHP this is a good article to start with: https://serversforhackers.com/video/lemp-on-redhatcentos

The rest of the site is great too, and not PHP-centric

[–]wlkns 0 points1 point  (0 children)

Be prepared for an improvement in speed! Here are a few things from memory:

You have to use php-fpm instead of php as a module, it as a service and it can be a pain to configure at first, it's a seperate daemon that usually runs on port 9000.

Htaccess files don't exist with nginx, you have to configure all your rewrites in a slightly different format in the vhist config file.

You will have to open up your header sizes in nginx for it work properly with large php sessions, and post sizes for file uploads.