DevOps

Jeecg tomcat running behind nginx over https

Posted on

To setup Nginx force https to tomcat follow https://www.cnblogs.com/kevingrace/p/6187072.html, here the author provided several ways to force http to https and I used this config server {     listen 80;     server_name dev.wangshibo.com;     index index.html index.php index.htm;        access_log  /usr/local/nginx/logs/8080-access.log main;     error_log  /usr/local/nginx/logs/8080-error.log;     return      301 https://$server_name$request_uri;      //这是nginx最新支持的写法       location ~ / {     root /var/www/html/8080;     index index.html index.php […]

DevOps

Test redis on Windows Subsystem for Linux (WSL) Ubuntu 18.04

Posted on

Currently I am working on a framework called JeeCG which using redis as jwt storage. So I need to setup a test redis server for development. I used to try redis for windows but I want to also try it on my Windows Subsystem Linux Ubuntu 18.04 just for fun. Following this blog https://redislabs.com/blog/redis-on-windows-10/ I have […]

DevOps

Windows Nginx 代理 apache 阶段性出现 accept4() failed (22: Invalid argument)

Posted on

最近一台Windows服务器上运行了Nginx代理apache,每隔1~2天nginx的error.log文件都会写满整个所在磁盘。笔者数据盘剩余70多G,也会全部写满,造成nginx无法继续服务。这样的问题总是阶段性出现。 由于log文件过于庞大,接连几次都无法打开log文件查看具体错误信息。这次无意中将errror.log文件在baretail客户端中一直开着,终于查到了错误原因:从某一时刻开始,log中一直报错误accept4() failed (22: Invalid argument),而且无法停止,直到log文件写满所在磁盘为止。 经查这可能是由于cygwin编译的nginx造成的,该不适用于生产环境中使用。参见 https://ask.csdn.net/questions/164209 https://github.com/alibaba/tengine/issues/219 现在只能是先讲究测试使用,回头正式上线还需将nginx跑在Linux上比较靠谱。 更新: 参考https://stackoverflow.com/questions/313111/is-there-a-dev-null-on-windows测试输出到nul文件是否可行。待验证

Liferay

Liferay IntelliJ Plugin 之初体验

Posted on

https://github.com/gamerson/liferay-intellij-plugin Liferay IntelliJ 插件 从源码构建 如果你想从源码构建, 使用以下命令: $ ./gradlew clean build 该命令完成后本地构建的IntelliJ Idea插件就会出现在: build/distributions/liferay-idea-plugin-<version>.zip 你可以在IDEA的菜单 Preferences > Plugins > Install plugin from disk… > 指向上一步生成的本地插件zip文件 来安装。 重要特性 Liferay Workspace Create a Liferay Workspace Project from Start menu > click Create New Project or click File > New > Project Choose Liferay Workspace from left list Click […]

uncategorized

About Viqsoft

Posted on

Viqsoft is the pioneer in Open Source Enterprise Solutions – Digital Experience Platform(DXP), Portal, ECM, ETL, Content and Big Data. Viqsoft has focused on industry-standard open platforms and integrating with existing systems to address business goals, reduce IT spend and lower total cost of operations.