Porting your Apache configuration
That's it. You've had enough of Apache. You finally decided to make a complete switch to Nginx. There are quite a few steps ahead of you now, the first of which is to adapt your previous configuration to ensure that your existing websites work 1:1 after the switch.
Directives
This first section will summarize some of the common Apache configuration directives and attempt to provide equivalent or replacement solutions from Nginx. The list follows the order of the default Apache configuration file:
Apache directive | Nginx equivalent |
---|---|
|
|
|
|