Windows Service won’t start if the enable property is set to true under "auth.jwt" in defaults.ini file

I have set up Nginx for reverse proxy and trying to update the defaults.ini file to support JWT. on setting the “enabled” property to true the windows service does not start and it gets into a pause state. The log file does not have any errors logged. Event logs have these logs.

Failed to read output for service Grafana. If the error persists, no more data will be written to grafana-service.log. ReadFile(): The pipe has been ended. Any help on this is appreciated.