Open ssl.conf
in a text editor.
Edit the domain(s) listed under the [alt_names]
section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
<?php | |
namespace App\Core\Infrastructure\Clients\Strapi\Http; | |
use App\Core\Infrastructure\Cache\RedisKeys; | |
use App\Core\Infrastructure\Clients\Strapi\Exceptions\InvalidArgumentException; | |
use App\Core\Infrastructure\Clients\Strapi\Exceptions\UnknownErrorException; | |
use GuzzleHttp\Client as GuzzleClient; | |
use GuzzleHttp\Exception\GuzzleException; |
If you in the same story as me: | |
- Laradock or other Docker containers | |
- No errors | |
- No logs | |
- Laravel request eats our all your memory in docker and killed silently | |
- You even tried to debug your code with xDebug and nothing happened after Exception | |
The reason is `xDebug 3.0` with `develop` enabled, | |
it prints detailed info about the exceptions and in the case of Laravel take a lot of memory, | |
even 3GB not enough, it dies, without printing any info about it. |
If you want to setup DigitalOcean spaces in Laravel, use next config: | |
(also this config will help you if AWS PHP SDK make HTTP requests instead of HTTPS) | |
'do_spaces' => [ | |
'driver' => 's3', | |
'key' => env('DO_SPACES_ACCESS_KEY_ID'), | |
'secret' => env('DO_SPACES_SECRET_ACCESS_KEY'), | |
'endpoint' => 'https://' . env('DO_SPACES_BUCKET') . '.' . env('DO_SPACES_ENDPOINT'), | |
'region' => env('DO_SPACES_REGION'), |
package main | |
import ( | |
"errors" | |
"fmt" | |
) | |
const ( | |
minStringLength = 3 | |
maxStringLength = 10 |
/* jQuery Nice Select - v1.1.0 | |
https://github.com/hernansartorio/jquery-nice-select | |
Made by Hernán Sartorio */ | |
(function($) { | |
$.fn.niceSelect = function(method) { | |
// Methods | |
if (typeof method == 'string') { |