Awesome! Good work @TharunTeja4676!
running systemctl nginx restart command is showing an error message.
Hi @swaroopcs88,
Everything looks correct to me, except
for this:
listen 8099 default_server;
Remove default_server
from the first listen statement/directive, then try running systemctl nginx restart
. That should do the trick.
Hope this helps
server {
listen <port>;
listen [::]:<port>;
server_name 172.16.238.10;
root /usr/share/nginx/html;
}