how to filter nodes that match url of current node or particular field of current node
Ok managed to create a working view:

Under contextual filter:
-Content: Has taxonomy term ID

Configured:

Provide default value - Type:

Taxonomy term from url - load default filter from term page (checked)

Specify validation criteria (checked)

Validator: taxonomy term (selected)

Check term in vocabulary list

Filter type: term name converted to term id (selected)