Skip to main content



Nginx | Configure Famous Frameworks Routs ( Yii2, Laravel, Drupal, Codeigniter)

Below is a simple Server Configuration for Several Framework Based Projects,
note that the script is designed to have variables that takes the right directives then process the location
change all the variables to what serves your need

server { listen default_server; #listen [::]:80 default_server; disable_symlinks off; rewrite_log on; root /var/www/html; # Add index.php to the list if you are using PHP index index.html index.php; server_name; # Set CI Folder set $ci_app_folder ''; # Yii Project if ($request_uri ~ .*yii_folder_name.*) { set $ci_app_folder '/file/location/project1'; set $bootfile 'index.php?$args'; } # Drupal & Laravel Project if ($request_uri ~ .*drupal_folder_name.*) { set $ci_app_folder '/file/location/project3'; set $bootfile 'index.php?$query_string'; } # Codeigniter Project if ($request_uri ~ .*codeigniter_folder_name.*) { set $ci_app_folder '/file/…

Latest Posts

Ubuntu Configure Nginx with Multiple PHP Versions

Convert PDF to Image (JPG, PNG, GIF ...)

Security Always Comes with a Cost

Jasonette or the new Web for Mobile

The new Technology Era .. From Insideout

FEEF | The Sound of Thought

CUPS | Web Interface not Working

Configuring php7 on Arch Linux

Gnome Files | Too many open files

The best Web App for Web and Mobile Prototyping