Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Support #436

Closed
jfryman opened this issue Sep 4, 2014 · 4 comments
Closed

Windows Support #436

jfryman opened this issue Sep 4, 2014 · 4 comments
Labels
enhancement New feature or request

Comments

@jfryman
Copy link
Contributor

jfryman commented Sep 4, 2014

Something to consider one of these days...

@3flex 3flex added the enhancement New feature or request label Apr 13, 2015
@wyardley
Copy link
Collaborator

wyardley commented Oct 7, 2016

I think this is a great idea, but guessing it's not going to happen until someone with the need for it adds a PR?

@bastelfreak @3flex: proposing we table this one for now?

@3flex
Copy link
Contributor

3flex commented Oct 9, 2016

Other than this issue, I don't think there's been any demand for native Windows support, so I agree it can be closed until someone decides to take a look at it again.

Might also want to consider waiting until nginx says Windows support is production ready (if that ever happens) before revisiting.

@wyardley wyardley closed this as completed Oct 9, 2016
@feltra
Copy link

feltra commented Jan 18, 2019

Basically got it working using:

        class { 'nginx':
          manage_repo           => false,
          stream                => true,
          sites_available_group => $group,
          sites_available_owner => $owner,
          sites_available_mode  => '0770',
          global_owner          => $owner,
          global_group          => $group,
          global_mode           => '0770',
          log_group             => $group,
          log_user              => $owner,
          log_mode              => '0770',
          daemon_user           => $owner,
          daemon_group          => $group,
          root_group            => $group,
          pid                   => "${nginxroot}/nginx-1.15.8/temp",
          temp_dir              => 'C:/Windows/temp',
          run_dir               => "${nginxroot}/nginx-1.15.8/html",
          conf_dir              => "${nginxroot}/nginx-1.15.8/conf",
          log_dir               => "${nginxroot}/nginx-1.15.8/logs",
          client_body_temp_path => "${nginxroot}/nginx-1.15.8/temp/client_body_temp",
          proxy_temp_path       => "${nginxroot}/nginx-1.15.8/temp/proxy_temp",
        }

I have installed nginx using the chocolatey module and managing the service with nssm module =)
There is a few things to adjust..

Headsup for @bastelfreak

@feltra
Copy link

feltra commented Jan 18, 2019

I am still doing some tests.. since my first use case is for proxying.. Im using nginx::resource::streamhost and nginx::resource::server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants