location /epayapi
{
proxy_pass http://127.0.0.1:7011;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr; add_header X-Cache $upstream_cache_status; add_header 'Access-Control-Allow-Credentials' 'true'; add_header Access-Control-Allow-Origin "$http_origin"; add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,language,os,token,ts,version'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header Cache-Control no-cache; if ($request_method = 'OPTIONS') { return 204; }
} #PROXY-END/testepayapi

最新文章

  1. web Worker使js实现‘多线程’?
  2. 提高C#代码质量-规范
  3. ubuntu 14.04 下svn + apache2 配置
  4. PHP FastCGI RCE Vul
  5. J2EE 第二阶段项目之编写代码(四)
  6. 使用Url.Routeurl获取url值。
  7. MVC通俗演义系列开篇
  8. HDU 1501 Zipper(DP,DFS)
  9. Alpha 版本测试和发布说明
  10. BZOJ_3942_[Usaco2015 Feb]Censoring_KMP
  11. World is Exploding (容斥 + 统计)
  12. Haystack
  13. php获取客户端IP地址的方法
  14. Python使用TCPServer编写(多线程)Socket服务
  15. Oracle DB 使用子查询来解决查询
  16. hdu2870 Largest Submatrix 单调栈
  17. MapReduce中,new Text()引发的写入HDFS的输出文件多一列的问题
  18. JDBC报错记录
  19. Linux内核分析实验六
  20. 关于html5获取用户地理位置

热门文章

  1. 微信小程序canvas 证件照制作
  2. SQL Server 读写分离配置的一些问题
  3. SCI简介和写作顺序
  4. Vue+Go前端后端一体化 企业级微服务网关项目
  5. Pycharm下载与使用及python的基础数据类型
  6. 斐波那契散列算法和hashMap实践
  7. 【实战】Hadoop安装01-伪分布式-Pseudo
  8. 【数据库】pgsql窗口函数,分组求sum的方式
  9. MySQL数据库和Python的交互
  10. java顺序数组插入元素