I have aqueduct server running on 127.0.0.1:8000 and I install nginx following h****s://certbot.eff.org/lets-encrypt/ubuntubionic-nginx commands.
When I run 127.0.0.1 I get static index.html that shows nginx welcome’s page. In my sitesi-available I have default file that pre config from nginx.
But if users types mine.example.com/login than I need to redirect to my dart server (which currently running on 127.0.0.1:8000).
if user types without s h**p://mine.example.com I need to show a default nginx index.html.
other than that everything must be redirect to (h ps://mine.example.com/* ) 127.0.0.1:8000.
How to use proxy_pass to redirect in Nginx config and how to set 443?