This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
root /var/www/html/placement; | |
index index.html index.php index.htm; | |
server_name placement.webmobtech.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
index index.html index.htm index.php; | |
root /var/www/html/example(Project Folder); | |
server_name example.org.in www.example.org.in; | |
# try_files $uri $uri/ /index.php$is_args$args /index.php?$args; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default; | |
#listen[::]:80 default; | |
root /var/www/html; | |
# index index.html index.htm index.nginx-debian.html; | |
server_name example.com www.example.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
index index.html index.htm index.php; | |
root /var/www/html/baller; | |
server_name baller.webmobtech.com; | |
try_files $uri $uri/ /index.php?q=$uri&$args; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In this post I will show you about how to add Switch Case to Laravel 5.x blade template engine. | |
On app/Providers/AppServiceProvider.php do following steps: | |
use Illuminate\Support\Facades\Blade; | |
On function function boot() add following line: | |
// Switch case directive | |
Blade::extend(function($value, $compiler){ |