cost 138 ms
NGINX Ingres 的安全规则应该是什么

[英]What Should be Security Rules for NGINX Ingreses

我计划将我们的一些服务扩展到 inte.net。 如果可以提供任何建议来保护我从 NGİNX 或 NGİNX-CONTROLLER 配置 Map 进入 https://github.com/kube.netes/ingress-nginx/blob/main/docs/user-guide/ngin ...

Nginx:在服务器上安装动态模块

[英]Nginx: install dynamic module on the server

我的 nginx 版本是nginx/1.18.0 (Ubuntu) 。 我想在服务器https://www.nginx.com/resources/wiki/modules/headers_more/上安装一个动态模块。 官方文档指出: “从 nginx.org 获取 nginx 源代码,例如版本 ...

Django static 文件在 docker 容器内找不到

[英]Django static files are not found inside docker container

我正在使用 Docker 构建一个 Django 应用程序。当数据库准备就绪时,我在我的入口点运行命令 collectstatic。 当我检查我的容器时, /static/文件夹是空的。 因此,Nginx 无法加载 static 文件。 这是我的 docker-compose 文件 我的Nginx配 ...

如何在不同服务器上为apache配置nginx反向代理

[英]How to configure nginx reverse proxy for apache with servername on different server

我有server1和 public IP, server2有本地 IP,我想使用 nginx 反向代理从server1 public IP 访问我在server2上由 apache 托管的应用程序。 这是我的配置。 Apache2 配置 Nginx 配置 使用该配置,我在访问 http://&l ...

Kube.netes Azure OAuth2 多主机合二为一 Nginx Ingress - CORS 错误

[英]Kubernetes Azure OAuth2 with multiple hosts in one Nginx Ingress - CORS error

我正在寻找为具有多个主机定义的 Nginx Ingress 配置 OAuth2 和 Azure 提供程序的方法。 我需要在 AKS 上为我的应用程序 dev.example.com 添加身份验证,它具有基于身份服务的内部身份验证。 我读过这样的例子: https://kristhecodinguni ...

容器化 Nginx 反向代理返回 502 Bad Gateway

[英]Containerized Nginx reverse proxy returning a 502 Bad Gateway

我正在尝试使用 Nginx 反向代理公开公开 Ombi。 Nginx 和 Ombi 都在 Ubuntu 22 主机上的容器中运行。 打开 http://hostname:3579(3579 是它使用的端口)工作正常,如果我在我的路由器中打开 3579,那么http://MYDOMAIN.dev: ...

nginx: [emerg] open() "/www/server/nginx/conf/enable-php.conf" 失败

[英]nginx: [emerg] open() "/www/server/nginx/conf/enable-php.conf" failed

错误:在配置文件中检测到错误。 请在继续之前解决它 nginx: [emerg] open() "/www/server/nginx/conf/enable-php.conf" 在 /www/server/nginx/conf/nginx.conf:68 nginx 中失败(2:没有这样的文件或目录 ...

2023-01-31 16:45:06   1   17    php / nginx  
如何通过 DNS 名称在 docker 容器之间建立连接?

[英]How to make connections between docker containers via DNS name?

我已经成功设置了以下容器: 突触: Matrix 聊天服务器不暴露于外部 web NGINX 反向代理允许外部连接连接到 synapse 的客户端 API 阻止与 synapse 管理员 API 的外部连接电线卫士: 虚拟专用网络我连接VPN访问synapse的admin API API 可 ...

Cisco Yang Suite - NGINX HTTP 主机 Header 错误

[英]Cisco Yang Suite - NGINX HTTP Host Header Error

我使用这个repo安装了 Cisco Yang Suite 运行 bash 脚本后,它出现了,我从远程机器得到 HTTP 400 Bad Request,在调试中,我得到了下面的错误。 我导航到 production.py 脚本并将允许的主机修改为下面但即使在删除图像并重新组合后仍然出现错误。 我期 ...

Nginx 使用 proxy_path 时不附加路径

[英]Nginx not appending path when using proxy_path

我正在尝试使用 Nginx 作为一些后端的反向代理。 它可能不相关,但后端都托管在一个 Docker.network 中,并且 .network 是使用docker-compose创建的。 后端都有相同的端点需要公开,所以为了减少重复的配置行,我尝试使用map 。 已添加resolver行,因为 N ...

Wordpress 使用两个配置以相反的方式配置行为不当

[英]Wordpress config misbehaving in opposite ways using two configs

如果我在前面提到的 wordpress 站点的 sites-available in nginx 中有这个配置,它不会显示根页面(403 错误),但如果我手动输入他们的 URL,它会显示特定页面,例如 https:// 子域。域名.tld/suchandsuch 然而,如果我设置了这个配置,它会做相 ...

为nginx服务器正确配置代理访问rest api

[英]Correct proxy configuration for nginx server to access rest api

我有一个配置如下的 nginx 服务器: 为了显示我的前端,此配置工作正常。 凸轮的代理也正常工作。 我在 api 的代理配置中遇到问题。api 在“https://some_ip:some_port”下进行了完整性检查,它只返回“200: ok”。 否则我应该能够使用获取请求发出请求,例如 如果 ...

2023-01-30 16:07:11   1   21    nginx / proxy  
Nginx 不在域中服务

[英]Nginx not serving on the domain

我已经在虚拟机上安装了 nginx(操作系统:Ubuntu 18)。 我正在学习本教程,但问题是我无法看到在 your_domain.com 上提供的内容。 这是我的 nginx.conf: 启用站点和可用站点目录中的文件:默认 your_domain your_domain(启用站点和可用站点) ...

在Nginx如何分配缓存控制响应header

[英]In Nginx how to assign cache control response header

根据响应代码,我想在 map 中设置缓存控制 header 如果它是 301,则设置“无缓存、无存储、必须重新验证”,否则默认设置响应附带的值。 是否有 response_cache_controle 或类似的命令 ...

2023-01-30 08:31:26   1   15    nginx  
Laminas 框架路由问题

[英]Laminas Framework Routing Issues

我正在使用 Laminas 框架开发一个网站。 某些 URI(下面列出)未按预期运行。 我不确定问题是 Laminas 还是 php:fpm 或 nginx。问题: 我怎样才能让 (G) 和 (H) 被 Laminas 完全相同地对待,以便呈现我的自定义“404 页面未找到”? (C)和(D)返回 ...

为什么我不能使用 ufw 拒绝来自 xxxx 的“Nginx HTTP”?

[英]Why i cant use ufw deny to "Nginx HTTP" from x.x.x.x?

我如何将此规则添加到我的 ufw 列表中? 我知道 nginx.conf,但由于一个原因,这个变体不适合我。 我尝试了上面的命令,但它不起作用。 我也试过 banned:80/tcp,但是这个规则对 Nginx 不起作用。就说我 ufw 有这样的规则。 ...


 
粤ICP备18138465号  © 2020-2023 STACKOOM.COM