How to access default site and website/webpage with port number

Viewed 8

I have one website with https for example https://mywebsite.com. This website is working fine properly. Now one fast api app is provided to host on the same website.

I deployed the fast api which is accessible on Server_IP:8000.

How can i access this fast api under website/domain name https://mywebsite.com that also under ssl certificate. I also want to disable exposure to port No. 8000 on which fast api is working.

I m using ubuntu 20.04 & nginx. Please correct me if there is any gap or if I am missing something. I am New in the filed of DevOps.

0 Answers
Related