腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Nginx
用
GeoIP
变量
重写
部分
URL
variables
、
nginx
、
url-rewriting
我有一个类似这样的网址:我在根上有一个位置匹配,它已经做了这件事,这是有效的:location ~ /home/(.*) {}
浏览 14
提问于2018-08-30
得票数 0
回答已采纳
1
回答
如何安装ngx_http_
geoip
2_module模块?论Centos
nginx
、
geoip
我使用yum安装了
GeoIP
包。我在
geoIP
文件夹中找到了/usr/share/
GeoIP
/文件。我需要在:/etc/
nginx
/
nginx
.conf中添加一些关于某些国家的规则,为此,我需要加载模块,比如:load_module modules/ngx_http_
geoip
2_module.so;,以识别
变量
。我遵循本教程:https://github.com
浏览 0
提问于2020-02-04
得票数 2
1
回答
如何在生产环境中运行的
Nginx
上安装
Geoip
2模块?
nginx
、
debian
、
geoip
有人能向我解释如何在运行在生产环境中的
Nginx
1.14上安装
Geoip
2模块而不破坏当前的配置吗? 在第一次安装期间,我只找到说明如何使用
geoip
2模块编译
Nginx
的源代码。
浏览 6
提问于2020-06-05
得票数 7
1
回答
如何编程查询
NGINX
中的
GeoIP
nginx
、
geoip
、
maxmind
我成功地使用参数"--with-http-
geoip
-module“和
geoip
模块完成了
NGINX
的编译。http{ ....一切看起来都很好,并且这个模块是没有错误加载的。 我在
NGINX
中添加了我自己的模块。并尝试从geo模块中查询
geoip</e
浏览 4
提问于2013-07-03
得票数 1
回答已采纳
1
回答
nginx
用
?
重写
了
部分
url
?标记
nginx
、
url-rewriting
我正在使用
nginx
作为apache的代理服务一个网站。
重写
模块有问题。我需要
重写
至我
浏览 4
提问于2017-12-27
得票数 1
回答已采纳
1
回答
如何仅使用反向代理实现
nginx
geoip
模块
nginx
、
nginx-reverse-proxy
这是
nginx
1.19.5,我有反向代理服务器,我在
nginx
反向代理服务器后面托管了大约20个站点。此反向代理服务器仅用于反向代理目的,并且没有本地web服务器在其上运行。我需要实现
geoip
阻塞,但我从文档中了解到的是
变量
必须在http
部分
中设置,然后 return 444;可以在服务器
部分
中调用。
浏览 0
提问于2021-03-27
得票数 0
1
回答
Nginx
重写
部分
url
nginx
、
url-rewrite-module
我尝试了以下
nginx
重写
规则:为什么现在起作用了?
浏览 1
提问于2014-06-13
得票数 0
回答已采纳
1
回答
Nginx
geoip
环境
变量
未定义
nginx
、
environment-variables
、
geoip
:worker_processes auto;
geoip
_city /etc/
nginx</e
浏览 1
提问于2017-10-16
得票数 0
2
回答
如何在
nginx
中为每个请求追加一个
变量
?
nginx
、
url-rewriting
我有一种情况,我需要在
nginx
中的所有请求中附加一个国家代码。我有以下
重写
,但我得到了“太多的循环”。
nginx
.conf ### USA specific config ###if ($
geoip
_country_code = US) { # root path
浏览 1
提问于2011-05-05
得票数 1
回答已采纳
2
回答
基于地理定位的
Nginx
返回
nginx
test.com/fullchain.cer; include /etc/
nginx
/snippets/ssl-params.conf; return 301 https
浏览 0
提问于2022-07-05
得票数 0
回答已采纳
1
回答
Nginx
重写
URL
,更改
部分
URL
nginx
、
url-rewriting
在
Nginx
中有可能像这样
重写
URL
吗? http://www.example.com/city/person/contact.php?
浏览 0
提问于2017-01-12
得票数 1
1
回答
NGINX
:
重写
url
改成hash/锚点
url
、
mod-rewrite
、
nginx
我很难告诉
NGINX
重写
某些网址,网址中包含&option=xxxx。原始
URL
如下所示: ..website../?更复杂的是,下一个
URL
应该保持不变,因为它不是&的第一个实例,并且
浏览 0
提问于2014-12-11
得票数 0
1
回答
找不到包含uri路径
部分
的
nginx
变量
nginx
、
redirect
、
uri
我在
NGINX
中添加了带有
重写
指令的尾斜杠。现在,我正在寻找一种方法来
重写
这个构造的第二
部分
,以转发到正确的端口。还有:有没有人知道
用
示例列出的
nginx
变量
列表?在这种情况下,并没有真正的帮助:-P
浏览 0
提问于2019-09-07
得票数 0
回答已采纳
1
回答
用
nginx
重写
url
php
、
nginx
h=xxxxxrewrite /([a-z1-9]+)$ /page1.php?h=$1 last;但在单击(page1.php?
浏览 2
提问于2013-11-13
得票数 0
2
回答
用
Nginx
重写
URL
php
、
nginx
、
url-rewriting
我对Nignx和LEMP堆栈非常陌生,并且很难编写干净的
URL
。我想
重写
:https://example.com/search.php?
浏览 2
提问于2017-04-09
得票数 0
1
回答
用
NGINX
重写
URL
php
、
regex
、
nginx
、
url-rewriting
、
server
我有一个
用
php编写的博客,上面有几篇文章,但是要阅读一篇文章,
url
应该类似于http://myblog/post.php?
url
=an-article-tilte&id=7。
url
=welcome-to-my-blog&id=7。在我的博客
nginx
配置文件中,我有以下内容: listen 80; root /opt/http/
nginx
/sites/
浏览 3
提问于2015-11-06
得票数 2
回答已采纳
1
回答
用
nginx
重写
URL
nginx
、
url-rewriting
我想用
nginx
重写
urls。/something.php (not regular file) -> /index.php?
浏览 1
提问于2014-08-09
得票数 1
回答已采纳
1
回答
用
nginx
重写
URL
php
、
.htaccess
、
nginx
、
url-rewriting
我有一个
nginx
+ php5 + mysql服务器正在运行。id=352656“
部分
。有人能帮我解决这个问题吗? 谢谢
浏览 0
提问于2015-01-10
得票数 1
回答已采纳
1
回答
根据自定义模式过滤ELK中的
Nginx
日志
elasticsearch
、
nginx
、
logging
、
filebeat
、
elk
在这台服务器上,我有自定义日志格式的
Nginx
,也安装了Filebeat到尾部日志和推送到ELK。不,在Kibana仪表板->发现
部分
,我有所有日志。在右侧,我看到一些筛选器字段。Mobile Safari/537.36" "-" "dns.com" rbs=103 sn=*.dns.com rt=0.002 uadd=127.0.0.1:3000 us=200 urt=0.000
url
:%{NOTSPACE:upstream_response_time})
url
浏览 0
提问于2021-02-20
得票数 0
1
回答
Nginx
用
两个
变量
重写
URL
nginx
、
url-rewriting
、
rackspace-cloud
pageId=45&catId=34location / { rewrite ^/([A-Za-z]+)/([A-Za-z]+)$ /page.php?
浏览 0
提问于2014-10-31
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
云直播
活动推荐
运营活动
广告
关闭
领券