I installed the windows 10 technical preview to use the Ubuntu subsystem, but upon installing nginx I can not start the service.
Here is the error log:
I installed the windows 10 technical preview to use the Ubuntu subsystem, but upon installing nginx I can not start the service.
Here is the error log:
Won't work.
As Microsoft notes, “This is a developer toolset to help you write and build all your code for all your scenarios and platforms.” It’s not a full Ubuntu virtual machine. You can’t use it to host servers, as you could on Linux. If you need that, you can always install Linux in a virtual machine using Microsoft’s Hyper-V technology, VirtualBox, VMware, or something similar.”
Comment out the ipv6 line in your sites-available conf and it will work like a charm.
apt-get install nginx
vim /etc/nginx/sites-available/default
Comment out the ipv6 line (in bold):
$server {
listen 80 default_server;
# listen [::]:80 default_server ipv6only=on;
Run command: nginx
For good measure I also changed it from port 80 to 8080 and was able to run a curl on it.