For install nginx as web accellerator need make 3 things:
-
Setup mod_rpaf for keep visitors IP's actual
-
Setup nginx on port 80
-
Change apache port from 80 to diffirent
We need keep apache run on public port, becouse not all websites can be work correct under nginx and save apache on diffirent port for this event.