Elastic Beanstalk Configuration Error when setting proxy to Apache

0

As per these instructions I attempted to reconfigured Elastic Beanstalk to use the Apache HTTPD Proxy, as I am having no luck getting nginx to proxy websocket requests to my Spring Boot Java Application from Firefox (it works with Chrome):

option_settings:
  aws:elasticbeanstalk:environment:proxy:
    ProxyServer: apache

When I deploy this version I get the following errors:

Failed to deploy application.
Invalid option specification (Namespace: 'aws:elasticbeanstalk:environment:proxy', OptionName: 'ProxyServer'): Unknown configuration setting.
"option_settings" in one of the configuration files failed validation. More details to follow.

The option is configured in the deployed zip file in the file .ebextensions/httpd-proxy.config as per the instructions.

Many thanks, Mark.

已提問 1 年前檢視次數 45 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南