Welcome! Log In Create A New Profile

Advanced

NGINX under WSL

NGINX under WSL
January 18, 2022 07:13PM
New user planning to run a Drupal server under Windows Subsystem for Linux, with Ubuntu distro. WSL and NGINX installed properly, with localhost as URL rendering 'welcome to nginx' as it should. Have installed Drupal recipe per instructions but can't seem to get it to properly access drupal content stored under /var/www. Have ensured permissions properly configured. Expecting to enter 'server name' from nginx config file as URL in browser, but entering that displays 'Hmm... can't reach this page'. Have read all the help documentation under nginx.org site, including troubleshooting, would like to avoid having to rebuild debug enabled version. Have also asked for help under wsl reddit.

Can someone please help suggesting additional troubleshooting steps? Nothing in access.log or error.log that is relevant to situation. Suspect WSL may inject something into header that breaks match algorithm, but don't know how to test that hypothesis.

Thanks for your help in advance.
Re: NGINX under WSL
January 18, 2022 07:42PM
Config file and header from Edge development tools attached.
Attachments:
open | download - Drupal (4.3 KB)
open | download - header.png (101.2 KB)
Re: NGINX under WSL
January 18, 2022 07:43PM
Or possibly need a listen for 443 port?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready