Skip to main content

server’s IP address on Template

I am currently working on a Template where I need to dynamically generate a link to client server dashboard using the server’s IP address from linode. However, I noticed that there isn’t a predefined variable for the server IP in the current template engine. below is my Template i need :

<p>Click the link below to log in to your server dashboard:</p>
<a href="http://{{ server_ip }}/dashboard">Login to Dashboard</a>

Log in to comment and vote

No comments yet

Be the first to share your thoughts.