使用laravel API在swoole上启用https

问题描述

当我尝试通过 http 发送api请求时,我在使用{ "ADConf": { "DomainPath": "LDAP://OU=xxx,OU=xxx,DC=xxxx,DC=xxxx","DomainName": "xxxx","Filter": "(&(objectClass=user) (cn=\"{0}\"))","ADUser": "xxxxxx","ADPassword": "xxxxxx","DefaultPassword": "xxxxxxxx" },"ConnectionString": "Server=localhost;Database=xxxx;Trusted_Connection=True;MultipleActiveResultSets=true" } swoole 上启用JPanel menuPanel = new JPanel( new FlowLayout(FlowLayout.LEFT) ); menuPanel.add(menuButton); JPanel centerPanel = new JPanel( new GridBagLayout() ); centerPanel.add(puzzle,new GridBagConstraints()); frame.add(menuPanel,BorderLayout.PAGE_START); frame.add(centerPanel,BorderLayout.CENTER); 时遇到问题/ em>效果很好,但我无法通过https

卷曲http://127.0.0.1:8008/api/v1/search?include=searchplace

有效

卷曲https://127.0.0.1:8008/api/v1/search?include=searchplace

不起作用

apache2 ubuntu上托管应用程序。

laravel api

https

我需要帮助,以便能够通过php --ri swoole swoole

启用我们的应用程序api请求

swoole配置文件:

Swoole => enabled
Author => Swoole Team <[email protected]>
Version => 4.5.7
Built => Nov 11 2020 16:26:07
coroutine => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1g  21 Apr 2020
pcre => enabled
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 8388608 => 8388608

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)