按常规配置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