HTTPS for localhost

Hello everybody,

I’ve installed yii2 Advanced using vagrant.
It’s running on nginx.

How can I set up HTTPS?

I’ve tried to follow instructions that I found, but after I save changes it shows me a standard nginx greetings instead of frontend or backend pages.

I’m new to these things, just started learning it, so can somebody at least give me a hint at what I could possibly did wrong?

Well, it’s all about just editing app.conf :grinning:

listen 443 ssl;
ssl_certificate path to certificate;
ssl_certificate_key path to key;