您的位置:首页 > 运维架构 > Nginx

liferay portal + nginx 公告、留言板或者文档中心添加完成后,不会返回上一页面的解决方法

2016-09-22 16:13 591 查看
按常规配置nginx后,比如公告、留言板或者文档中心添加完成后,不会返回上一页面。经测试,不用nginx没问题。

要更改portal-ext.properties ,如果换成域名,也要有配置。

#Input a blank list to allow any IP
redirect.url.ips.allowed=
#Set this property to ip or domain for the redirect securiyt mothod.if set to domain , the portal will only redirect user to domain list.
#redirect.url.security.mode=domain
redirect.url.security.mode=ip

#for nginx , let Liferay konw that there is a web server in front
web.server.http.port=80
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: