腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Nginx
proxy_pass
从
*.
local.domain.com
到
*.
domain.com
nginx
、
proxypass
、
wildcard-subdomain
一个用于指向公共ip地址(即93.184.216.34)的
domain.com
,另一个用于指向供同一网络上的计算机使用的本地ip地址(即10.0.0.2)的
local.domain.com
。我有以下配置来将本地子域
proxy_pass
到
裸域,这似乎可以工作: server { listen [::]:443 ssl; server_name
local.domain.com<
浏览 18
提问于2020-11-01
得票数 0
回答已采纳
1
回答
Nginx
重定向
从
/转到文件夹和端口
nginx
如何在浏览器中设置
从
domain.com
端口80重定向
到
domain.com
:/client端口8080的
nginx
代理?8080; server_name
domain.com
;remote_addr; proxy_set_header X-Forwarded-For $pro
浏览 0
提问于2018-08-09
得票数 0
1
回答
如何使用
nginx
作为代理将redmine移动到子URI中
ruby-on-rails
、
nginx
、
redmine
我想在
nginx
后面放置redmine (收听localhost:3000名独立乘客),使用这个简单的
nginx
配置
从
http://
domain.com
/redmine提供服务: }我在指令config/environments.rb的基础上重写了redmine的,并正确地重写了静态资产URLs,但是控制器设置指向htt
浏览 4
提问于2013-09-05
得票数 3
1
回答
Nginx
上游返回端口-如何重写$host?
nginx
、
rewrite
我正在使用
Nginx
,并使用
proxy_pass
代理到上游应用服务器。这很好,但是服务器使用https://
domain.com
:81/进行响应。如何将主机
从
https://
domain.com
:81/重写为https://
domain.com
/
浏览 0
提问于2013-10-29
得票数 0
1
回答
如何将域连接到另一个子域?
apache
、
configuration
、
subdomain
我有apache服务器。我也有自己的域名:我还有另一个域domain.two我需要找到解决办法就像停车一样。不重定向iframe允许。打开domain.two时,它会打开sub.domain.one我认为,在domain.one的信任下,我需要做一些改变,让服务器知
浏览 2
提问于2021-06-18
得票数 0
回答已采纳
2
回答
Nginx
通配符代理,将子域传递给服务器(上游代理)
nginx
、
wildcard
、
wildcard-subdomain
我希望能够将subdomain.domain.com传递给.
domain.com
apache服务器,并提供子域信息。我想为域做一个
nginx
缓存,就像通配符一样,但是将子域传递
到
目的地(也有Apache女巫通配符)。*.
domain.com
;
proxy_pass
http://
domain.com
; #
proxy_pass
$request;/domain.com.l
浏览 2
提问于2012-10-18
得票数 16
1
回答
从
Http服务器提供web应用程序错误消息
nginx
、
tomcat
我使用
nginx
作为http服务器,tomcat作为后端(使用
proxy_pass
)。它很好用,但是我想定义我自己的错误页面(404,500等等)。他们是由
nginx
而不是tomcat提供的。例如,我有以下资源:它根本不存在。如果我到达那个URL,那么我会
从
Tomcat那里得到一个未找到的消息,而不是
从
nginx
那里得到一个消息。配置
nginx
服务器的方式非常简单,
浏览 0
提问于2010-12-27
得票数 0
回答已采纳
1
回答
使用
Nginx
删除url中的项目名称。
jboss
、
nginx
在顶部,我们使用
nginx
作为webserver来侦听端口80,它充当代理,将所有连接转发到运行jboss项目的8080端口。下面是我们添加的配置。但是在我们登录后,页面重定向
到
下一页,并被附加了两次项目名称,因此会引发错误,因为它无法在该路径中找到页面。如何重写使用
nginx
的用户将删除项目名称的url?
Nginx
配置
proxy_pass
http://localhost:8080/project1/;
浏览 2
提问于2012-12-21
得票数 1
回答已采纳
1
回答
domain.com
需要重新路由
到
IP_ADDRESS:8080
nginx
配置奇怪的配置
nginx
、
dns
、
server
我在我的域名的
nginx
conf文件中有以下配置listen 80;
proxy_pass
http://localhost:8080; proxy_cache_bypass $http_upgrade;} 当我到达
domain.com
->
浏览 0
提问于2016-01-25
得票数 0
1
回答
nginx
子域和域名重写w proxy通过
django
、
proxy
、
nginx
、
rewrite
我需要这两种类型的重写:otherdomain.com =>
domain.com
/userdomain我目前在
nginx
中的重写工作正常,但是用户的URL显示了重写,我希望这对用户是透明的,有什么想法吗?; }
浏览 0
提问于2012-05-11
得票数 10
回答已采纳
1
回答
nginx
+反向代理+反应性路由器-路由不工作
reactjs
、
nginx
、
reverse-proxy
、
react-router-dom
我对
nginx
和配置完全不满意,所以我想向你寻求帮助。目前,我有这样的配置: listen 80;
proxy_pass
http://网站当前行为:运行
domain.com
时,正确打开主页,应用程序工作。 当尝试运行
domain.com
/some(我已经正确配置了反应路由)时,它显示了
nginx
404页面。如何将任何路由重定向
浏览 1
提问于2021-05-07
得票数 1
回答已采纳
1
回答
nginx
代理文件夹到url
nginx
、
reverse-proxy
、
meteor
我有些网站想用
nginx
重定向:在
domain.com
上,我有一个启用了以下站点的
nginx
服务器: listen 80;
浏览 0
提问于2014-05-29
得票数 1
1
回答
显示根域中的子域内容-重写
.htaccess
、
mod-rewrite
、
nginx
、
dns
我有一个登录页面托管在landing.mydomain.com在某些静态网站主机。当访问者访问mydomain.com时,有没有使用.htaccess向我的访问者显示landing.mydomain.com的内容
浏览 2
提问于2016-01-05
得票数 0
1
回答
在本地测试"Facebook登录“
facebook
、
authentication
、
dns
、
localhost
、
facebook-login
我正在尝试在本地测试我的“继续使用Facebook”按钮。我收到这个错误,告诉我URL无效。下面是我如何配置我的应用程序的OAuth设置。根据我所有的研究,这是正确的配置,但仍有一些问题。 根据最后的图片,它不会让我添加域,如"“。它只允许我添加"localhost“
浏览 2
提问于2017-08-29
得票数 5
1
回答
Nginx
代理证书自动发给MS IIS
authentication
、
iis
、
ssl
、
nginx
、
reverse-proxy
/ssl/root/CA.pem;proxy_ssl_certificate;在IIS simple。测试我得到了什么:
Nginx
对其他
nginx
客户证书的要求--工作过。
Nginx
浏览 4
提问于2015-10-25
得票数 2
回答已采纳
2
回答
Proxy_pass
127.0.0.1在
nginx
中不起作用
nginx
、
proxypass
我将
nginx
安装为反向代理。如果我用:它不起作用。但如果我用:它起作用了。我可以使用浏览器访问http://
domain.com
:81和http://ip:81。
浏览 0
提问于2011-12-08
得票数 -1
1
回答
如何覆盖特定域的
Nginx
配置
nginx
、
proxypass
、
nginx-config
、
directadmin
我使用
proxy_pass
在我的
Nginx
服务器上运行一个节点应用程序/usr/local/directadmin/data/users/civilcom/
nginx
.conf如您所知,该文件是由DirectAdmin和服装模板自动创建的,所以每次我的更改被恢复
到
原始配置时。error_log /var/log/
nginx
/domains/DOMAIN
浏览 0
提问于2019-01-08
得票数 2
1
回答
nginx
和条星-如何重写URL以包括端口?
meteor
、
nginx
我不知道如何为具有http://IP/<LettersHere>meteor_js_resource=true地址的陨石请求重写URL
到
http://IP:3000/<LettersHere>meteor_js_resource如果我访问我的网站的URL:3000,那么我可以
从
流星应用程序获得所有的静态文件。 但是,如果我尝试使用这个
nginx
配置文件将URL:3000路由
到
URL/someURL,那么当人们访问我的站点时
浏览 0
提问于2015-10-31
得票数 0
回答已采纳
1
回答
当运行反向代理时,Laravel 'auth‘中间件设置错误的'url.intended’会话数据
php
、
laravel
、
reverse-proxy
一切(路线,HTTPS链接,资产,.)工作正常,但登录后重定向
到
预定页面除外。当我注销并访问example.org/laravel/foo时,我被正确地重定向
到
example.org/laravel/login,但是在登录后,我被重定向
到
不存在的example.org/foo。::fullUrl()调用Symfony\Component\HttpFoundation\Request::getUri() (通过$this->url()) Request::getUri()
从<
浏览 0
提问于2019-06-19
得票数 1
1
回答
NginX
中具有相同URI但不同
proxy_pass
的多个域
nginx
、
proxy
我有一个
nginx
实例,它负责处理生产域和预产域(
domain.com
和pre.domain.com)。server_name pre.domain.com
domain.com
; if ($host = 'pre'
domain.com</em
浏览 0
提问于2015-12-14
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
nginx从入门到实践教程
Nginx从入门到实战,一学就会!
nginx server
初识 Nginx
Centos Nginx负载均衡实验演示
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券