服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx ruby on rails
  3. NGINX:将自定义端口上的呼叫路由到本地主机到外部服务器
Intereting Posts
Postfix:致命:没有SASLauthentication机制(无法telnet) 如果DEP停止了一个应用程序,是否有可能在日志中看到这个事件? 如何从多个域中获取详细信息 完全/差异备份 – 用于确定差异备份内容的是什么? configurationSQL Server 2005企业版 在Debian上增加文件描述符限制是行不通的! 帮帮我! 有没有人用BTRFS做过任何testing? AWS RDS db.t2实例性能阈值和监控 无法使用dynamicIP连接到互联网 HTTP和HTTPS Apacheredirect到内部IP虚拟机 iPad / iPhone L2TP VPN随机lockingSonicWall NSA2400 在Apache 2.2服务器之间迁移时,htdbm和mod_authn_dbm失败 Ganeti如何处理击剑 Tomcat6在Ubuntu中安装的时间间隔是崩溃的 Apache VirtualHost – 从一个域redirect到另一个域的特定页面*透明地*

NGINX:将自定义端口上的呼叫路由到本地主机到外部服务器

我的导轨应用程序有问题。

该应用程序的API是在端口8082上的本地主机上查找我的论坛(forum.example.com)。

我需要创build一个路线,redirect每个连接到forum.example.com 127.0.0.1:8082

用nginx可以得到这样的东西吗?

  • 服务器更新到php 5.5.0后停止工作
  • 无法在configuration脚本中从源代码安装nginx
  • 把一个目录的nginx规则重写到另一个域/子域
  • 通过多个数据中心限制用户
  • 设置Nginx – 将请求redirect到auth服务器,并redirect到服务请求

  • Nginx反向代理与iRedMail Apache2
  • 子文件夹中的nginx站点
  • Nginx,proxy_pass,相对上游的相对链接
  • Nginxredirect而不是代理传递
  • Nginx + php-fpm和多域

我会用这个proxy_pass 。

在nginx中,创build一个虚拟主机,监听端口8082的localhost ,然后将其代理到forum.example.com 。

像这样的东西:

 server { listen 8082; server_name 127.0.0.1; location / { proxy_pass http://forum.example.com; } } 
  • Laravel在Nginx上路由到错误的目录
  • nginx proxy_pass指令在OSX上的作用?
  • nginx – 限制每个服务器块的带宽使用率
  • nginx发送不完整的响应
  • 谷歌机器人旅行在一个完全正常的robots.txt,然后在一个不存在的robots.txt
  • Nginx的代理SOAP请求
  • 我可以通过https pass_proxy吗?
  • Phalcon不会在nginx和php5-fpm下加载
  • NGINX中的可选url段
  • 如何configurationNginx与SMTP服务器通信?

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy