How to change nginx config in amazon elastic beanstalk running a docker instance

后端 未结 4 723
抹茶落季
抹茶落季 2020-12-04 15:31

After i login and the cookie is set I get error 502. When i read the log i get the error:

014/05/17 01:54:43 [error] 11013#0: *8 upstream sent too big header         


        
4条回答
  •  佛祖请我去吃肉
    2020-12-04 16:37

    A cleaner approach (if you're using the Java or Go platform on Elastic Beanstalk) is to have nginx .conf files with your wished changes in a subfolder in .ebextensions:

    You can now place an nginx.conf file in the .ebextensions/nginx folder to override the Nginx configuration. You can also place configuration files in the .ebextensions/nginx/conf.d folder in order to have them included in the Nginx configuration provided by the platform.

    Source

提交回复
热议问题