Enable bash on Windows 10

0
Comments
Enable bash on Windows 10

Finally! You can now use bash and almost any linux program on your Windows 10 machine. You do not need cygwin or MinGW anymore! This will give you opportunity to use rich variety of tools available only on linux. For example wrk - a great HTTP benchmarking tool which I plan to use for a new ASP.NET Core 1.1 benchmark. Linux's user space available from Windows 10 version 1607. But it's disabled by default. To enable it you should: Go to Settings -> Updates & security -> for developers a...

Read further...

Nginx Server Blocks (Virtual Hosts) Example Template

0
Comments
Nginx Server Blocks (Virtual Hosts) Example Template

Here is an example of the nginx server block (Virtual Hosts) which you can use to host multiple web sites on the same server. Just replace example.com with your own domain name. Do not forget to create all required folders and sent right permissions. Copy one of those templates to the /etc/nginx/sites-available/example.com Proxy example # Ivan Derevianko aka druss http://ivanderevianko.com # Force without domain domain without www server { server_name www.example.com; listen 80; rewrite ^(.*) ht...

Read further...