Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
reverse_proxy_server [2018/06/23 15:23]
warmachine
reverse_proxy_server [2018/06/23 15:27] (current)
warmachine
Line 36: Line 36:
     } \\     } \\
 } \\ } \\
-</color>+</color>\\
 control x, y (this exits nano and saves)\\ control x, y (this exits nano and saves)\\
  
-we know create a symbolic link from the 'myfirsthost' config  file in your site-available directory to the same file name in your sites-enabled directory:\\+We now create a symbolic link from the 'myfirsthost' config  file in your 'site-availabledirectory to the same file name in your 'sites-enableddirectory:\\
  
  
Line 49: Line 49:
 service nginx restart</color>\\ service nginx restart</color>\\
  
-If all goes well visiting the IP of your proxy server should result in being forwarded to your first host. If configtest returns errors, you will need to troubleshoot them, check your IPs, file names, and syntax of the commands you've run. \\+If all goes wellvisiting the IP of your proxy server should result in being forwarded to your first host. If configtest returns errors, you will need to troubleshoot them, check your IPs, file names, and syntax of the commands you've run. \\
  
 If you add a dns entry (see dns section of wiki) and modify 'yourfirsthost' config a bit further (you will only need to edit the one in the sites-available directory, thanks to the sim link), you can make your proxy a bit more powerful: \\ If you add a dns entry (see dns section of wiki) and modify 'yourfirsthost' config a bit further (you will only need to edit the one in the sites-available directory, thanks to the sim link), you can make your proxy a bit more powerful: \\
Line 64: Line 64:
 Now, visiting your-first-hostname (ie: iviolet.net) should hit your reverse proxy server, then forward to your-first-host. Note that this will only work internally, until you actually purchase and setup a domain name (see the domain name section of the wiki) and utilize either static IPs from your ISP, or more commonly --and cheaper, utilize dynamic DNS (also covered in the DNS section of the wiki). \\ Now, visiting your-first-hostname (ie: iviolet.net) should hit your reverse proxy server, then forward to your-first-host. Note that this will only work internally, until you actually purchase and setup a domain name (see the domain name section of the wiki) and utilize either static IPs from your ISP, or more commonly --and cheaper, utilize dynamic DNS (also covered in the DNS section of the wiki). \\
  
-Once you've added a few different entries into your sites-available directory, configured them to point to different servers or virtual machines, and sim linked them to the sites-enabled directory, you're ready to really put nginx to work with SSL, sub-domains, and other features. More on that in Helder's reverse proxy guide. \\+Once you've added a few different entries into your 'sites-availabledirectory, configured them to point to different servers or virtual machines, and sim linked them to the sites-enabled directory, you're ready to really put nginx to work with SSL, sub-domains, and other features. More on that in Helder's reverse proxy guide. \\
Last modified: le 2018/06/23 15:23