The nginx issue is finally solved and now the service is working fine and pretty fast. It reduced the page loading time from 9 seconds to 1 second.
The files related to nginx are new and is added in the current task so it is good if you have a look at them. I also exported the kubernetes configs for the service itself here so that it becomes version controlled.
There was also an error in the surveys ingress which would cause only the main page of the service be served and block all other urls. This one got fixed by the following changes:
The nginx issue is finally solved and now the service is working fine and pretty fast. It reduced the page loading time from 9 seconds to 1 second.
The files related to nginx are new and is added in the current task so it is good if you have a look at them. I also exported the kubernetes configs for the service itself here so that it becomes version controlled.
There was also an error in the surveys ingress which would cause only the main page of the service be served and block all other urls. This one got fixed by the following changes: