I'll start with the fact that I'm frontend. To test the functionality, I need to be able to implement my code on https sites.
Can I somehow configure nginx on the local machine so that it gives statics via https. To be able to connect scripts in the browser console via https? I do not even need https to be valid, just that the protocol says "https: //". I do not have a certificate, maybe there is some kind of hack for this, would be grateful for the example of Kongfig