Opensearch-dashboard anonymous access

Hi,
I’ve installed opensearch and opensearch-dashboard. With security enabled it works well.
Now I would like to disable security and enable anonymous access.
What I already did:

/etc/opensearch-dashboards/opensearch_dashboards.yml
opensearch.hosts: [http://localhost:9200]
/etc/opensearch/opensearch.yml
plugins.security.disabled: true

opensearch-dashboards-plugin remove securityDashboards

and of course I restarted both services.

The query
curl http://192.168.1.215:9200/_cat/nodes?v
shows me cluster is up.

But opensearch-dashboards is not accessible now. I got 502 Bad Gateway. Yes, opensearch-dashboards is behind revers-proxy (nginx). And all worked before I disabled security.
nginx logs:

failed (111: Connection refused) while connecting to upstream

I enabled logging.verbose: true on opensearch-dashboards configuration, but it didn’t show any errors.

How to properly enable anonymous access?

And one more question. How to install plugin to opensearch-dashboard after it was deleted.

opensearch-dashboards-plugin install securityDashboards
Attempting to transfer from https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/1.3.2/latest/linux/x64/builds/opensearch-dashboards/plugins/securityDashboards-1.3.2.zip
Plugin installation was unsuccessful due to error "No valid url specified."