About deploying Discourse on Windows Server

AI-generated summary

The discussion revolves around deploying Discourse on Windows Server 2022, an unsupported configuration. MoRanYue attempted to install Discourse on native Windows but faced issues with the Ruby gem libv8-node, which does not support Windows. They then tried WSL, encountering various problems. Falco notes that the setup is unsupported and suggests using a Linux VM instead. Despite this, MoRanYue successfully deployed Discourse on WSL without Docker, referencing a guide on the Discourse Meta forum [here](https://meta.discourse.org/t/deploy-discourse-without-docker/351194?u=mo ranyue). However, they still face challenges with Nginx configuration on Windows, and Falco warns of the many issues arising from deviating from the official installation guide. MoRanYue remains determined to proceed with their approach.

As you know, a productional server running on Windows Server 2022 is a bit rare, but I am used to Windows. I have tried doing anything what those articles teaching “Installation in WSL” on native Windows, it is impossible due to a vital Ruby gem `libv8-node` does not support Windows. Then I turned to WSL, encountering lots of problems…

Basically, I wanted to deploy Discourse in WSL without Docker, and PostgreSQL and Nginx is running in native Windows environment, is there a tutorial for my case?

I’m afraid there is no tutorial for that, as it’s an unsupported configuration for a production install.

Can you run a Linux VM on your server and then follow the standard install guide ?

After doing some research on this article, I have successfully deployed it on WSL. However, there is last one problem: Nginx configuration on Windows.

That is just the first of a myriad of problems you gonna have when you don’t follow the official install guide. There is a reason we ship a pre-configured image after all.

I insist on my way, now the forum has been perfectly deployed without Docker.