Table of Contents
Nginx Installation
Return to nginxHelm search, Helm install, Nginx, Nginx on Docker, Nginx on Kubernetes, Nginx on Linux (Nginx on Debian: Nginx on Ubuntu, Nginx on Raspberry Pi OS, Nginx on Fedora: Nginx on RHEL, Nginx on Rocky), Nginx on Windows - Nginx on WSL, Nginx on macOS, GitHub Nginx, Awesome Nginx
Windows
Chocolatey
Install with Chocolatey:
nginx [engine x] is an HTTP server and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.
This package provides an nssm Windows service wrapper for it which creates a standard Windows service named nginx to manage the Nginx server.
During installation nginx-service will create following nginx directory structure:
C:/tools/nginx
- conf
- …
-
- server.d0n3.ws.conf.sample {Bonus file, read content}
-
- {Required}
-
- {Required}
Place your nginx custom config files inside conf.d
Conf to be included must follow naming pattern server*.conf where * is a wildcard
Above allows config pattern where extra .conf files are included (and reused) manually from server*.conf, i.e. PHP location directive
It is safe to edit/rename/remove default config files. They will be restored during upgrade only if conf.d is empty
Fair Use Source: https://chocolatey.org/packages/nginx-service
nginx-service package files install completed. Performing other installation steps.
Config file(s) location “C:\tools\nginx\conf.d”
Nginx now can be started and stopped as regular Windows service or through NSSM command interface Type one of those commands in CMD or PowerShell for nginx-service control:
- To restart service do both:
- net stop nginx and net start nginx
- nssm stop nginx and nssm start nginx
Environment Vars (like PATH) have changed. Close/reopen your shell to see the changes (or in powershell/cmd.exe just type `refreshenv`). The install of nginx-service was successful.
Software install location not explicitly set, could be in package or default install location if installer.
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\WINDOWS\system32>
https://nginx.org/en/docs/windows.html
Nginx on macOS
Research It More
- nginx on DuckDuckGo
- nginx on bitnami.com
- nginx on goharbor.io
Fair Use Sources
Nginx: Web Servers, Nginx Installation (choco install nginx - Nginx on Windows, Nginx on WSL, brew install nginx - Nginx on macOS, dnf install nginx - Nginx on Rocky, apt install nginx - Nginx on Debian), Nginx Management, Load Balancers, Nginx GitHub, Awesome Nginx. (navbar_nginx)
© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.