server {
listen 80;
server_name example.com www.example.com *.example.com;
# listen [::]:80;
access_log off;
#include acme;?
location / {
return 301 https://example.com$request_uri;
}
}
echo Nav::widget([
'options' => ['class' => 'navbar-nav navbar-right'],
'items' => $menuItems,
'encodeLabels' => false,
'activateParents' => true,
]);