Basically i created api that run on nginx and connect to remote server,currently i am pointing to ip address of remote server but i want to map it to domain name like xyz.com/<api_name>
As it is remote server i changed nginx configurations as below:
sudo nano /etc/nginx/sites-available/default - server name <domain_name> importing ssl certificate is also done.
but it shows error 521!!!! i don'tknow which configuration i did miss out?
OPEN TO ANY SUGGESTION, THANKS IN ADVANCE.
2.1m questions
2.1m answers
60 comments
57.0k users