When I manually set up Nginx website server blocks, I create two server blocks, one listening on port 80, one listening on port 443. I then add:
return 301 https://$server_name$request_uri;
to the port 80 server block for the website.
However, the configuration file that is ran when one adds a virtual server creates a single server block. Where is the GUI interface that will allow me to redirect the http to https for the website? When using Apache, one goes to the Configure Website and can put in a redirect from / to https://domain.tld. How is that done in the GUI when only running Nginx as the webserver?
Thanks.