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
要更改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
相关文章推荐
- 配置nginx负载均衡时候Nginx服务器导致CSS无法解析不起效果
- 压力测试后,解决NGINX + CAS双机负载问题
- centos配置Nginx
- centos7下编译安装nginx
- nginx 配置php
- Web服务器Nginx多方位优化策略
- 构建高效安全的Nginx Web服务器
- 1.nginx安装
- 零基础搭建nginx转码服务器
- linux nginx启动 重启 关闭命令
- Nginx报错:upstream timed out (110: Connection timed out)
- ubuntu+uwsgi+nginx+django+supervisor部署
- FastDFS整合nginx报错
- 实现单一的nginx负载均衡
- Linux(CentOS6.5)系统安装Nginx
- Nginx负载均衡配置实例详解
- apache主机重写规则与nginx主机重写规则转换
- nginx开启gzip
- Apache与Nginx的优缺点比较
- Nginx 的事件处理机制