Skip to content

ch01_configure_nginx

Daniel Samson edited this page Jul 6, 2022 · 2 revisions

To configure nginx, you need to pass the url query param into your index.php:

location / {
  if (!-e $request_filename){
    rewrite ^/(.*) /index.php?url=$1 break;
  }
}
Clone this wiki locally