更改

跳到导航 跳到搜索
添加199字节 、 2019年4月28日 (日) 11:30
无编辑摘要
第4行: 第4行:  
反向代理配置:
 
反向代理配置:
 
文档:https://www.rabbitmq.com/management.html#proxy
 
文档:https://www.rabbitmq.com/management.html#proxy
 +
 +
配置好反向代理发现会报错
 +
<pre>
 +
Not found
 +
The object you clicked on was not found; it may have been deleted on the server.
 +
</pre>
 +
需要修改服务器配置,如下:
    
Apache:
 
Apache:
AllowEncodedSlashes On
+
 
ProxyPass        /api http://localhost:15672/api nocanon
+
    AllowEncodedSlashes On
ProxyPass        /    http://localhost:15672/
+
    ProxyPass        /api http://localhost:15672/api nocanon
ProxyPassReverse /    http://localhost:15672/
+
    ProxyPass        /    http://localhost:15672/
 +
    ProxyPassReverse /    http://localhost:15672/
 +
 
    
nginx:
 
nginx:
 +
 
nginx没有nocanon,手动配置每个重定向:
 
nginx没有nocanon,手动配置每个重定向:
  

导航菜单