NGINX 配置文件没有被拾取弹性 beantalk

时间:2021-02-08 20:32:20

标签: amazon-web-services nginx amazon-elastic-beanstalk nginx-reverse-proxy nginx-config

我正在尝试为我的弹性 beanstalk 应用程序增加 NGINX 的超时时间。我正在使用 amazon linux 2。我看过其他答案 Here 并查看了文档 HereHere。我尝试使用 .ebextensions -> nginx -> conf.d -> proxy_config.conf.platform -> nginx -> conf.d -> proxy_config.conf 扩展配置,但没有任何更改。如果有办法更改超时时间,我的文件结构是否不正确?有没有办法检查配置是否被拾取?

这里是我的 conf 文件的全部内容供参考:

client_header_timeout   300;
client_body_timeout     300;
send_timeout            300;
proxy_connect_timeout   300;
proxy_read_timeout      300;
proxy_send_timeout      300;
keepalive_timeout       300;
keepalive               300;

0 个答案:

没有答案