Activation of CORS for NGINX

  • Hello,


    I installed keeweb through docker on my OMV, to access my keepass db as well outside of my place.
    Now I tried to access my database through webdav, but get the following error message:


    Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://xxxxx' is therefore not allowed access. The response had HTTP status code 401.


    Google said, that I have to activate CORS in NGINX. Can me someone tell, where I can activate it (NGINX) or should I use a better solution?


    Thanks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!