No I tried different methods but nothing worked
but i can tell you about a improvisation/hack which will work in changing your default nginx config values connect to your instance via putty or ssh terminal like git bash or online terminal then navigate to /etc/nginx/conf.d using cd command inside conf.d directory create a new file in the form anyname.conf paste your new config value and restart nginx.
But there is an issue in this this will only work if you use single instance otherwise after sometime when your load balancer will change/replace the instance to reduce load on the servers your nginx values will be reset to default
In case you find out any other better method please let me know i am also searching for the same
Thanks for sharing the hack. I am also running the system by hack. But this is not proper solution for autoscale. @david
Is there anything settings on IAM role permission?
Although i am using the default role.
Thanks in advance.
No I tried different methods but nothing worked
but i can tell you about a improvisation/hack which will work in changing your default nginx config values connect to your instance via putty or ssh terminal like git bash or online terminal then navigate to /etc/nginx/conf.d using cd command inside conf.d directory create a new file in the form anyname.conf paste your new config value and restart nginx.
But there is an issue in this this will only work if you use single instance otherwise after sometime when your load balancer will change/replace the instance to reduce load on the servers your nginx values will be reset to default
In case you find out any other better method please let me know i am also searching for the same
Thanks for sharing the hack. I am also running the system by hack. But this is not proper solution for autoscale.
@david
Is there anything settings on IAM role permission?
Although i am using the default role.
Thanks in advance.
Hey there!
Have you tried using the
files
command on .ebextension? Something like this:It's documented here. It's another way to add custom files to your instances when deploying new versions.
Hello friend,
Thanks for your help. My problem was hierarchy.
Once take back .ebextension to main root directory the problem was resolved.
Yeeeei! I'm glad you worked it out.
I might as well add that reminder of the root directory to the post.
Thanks a lot for getting back here!