I am new to nginx and I have been on apache before.
In apache, each directory can have a .htaccess to target the directory and and it's subdirectories.
Is this possible for nginx? If so, how do I do that?
Thank you very much!
Nginx doesn't have .htaccess support nor even any kind of per-directory configuration files in which users can modify configuration. Also no any kind of runtime configuration changes (kill -HUP needed to reload config). But anyway nginx mostly used for reverse proxying
nginx doesn't have .htaccess support, you should add all the configuration to nginx standard conf.
is a workaround (kind of a "duct tape") for shared hosting environments. It has a performance (speed) penalty.
read prooflink from NGiИX developers: https://nginx.com/resources/wiki/start/topics/examples/likeapache-htaccess/
So the main rule when you configuring (migrating from apache) is: NEVER USE CONVERTERS!!!