nginxが動いていれば停止しときます。 nginx -s stop winswを使ってサービス化します。 以下から最新版をダウンロードし、C:\nginxの直下に置く Index of releases/com/sun/winsw/winsw 名称をリネームする。名称はなんでもOK バージョンが分かるように winsw-2.1.2-nginxsvc.exeにリネームしました。 winsw-2.1.2-nginxsvc.xmlを作成 <service> <id>nginx</id> <name>nginx</name> <description>nginx</description> <logpath>c:\nginx\logs</logpath> <logmode>roll</logmode> <depend></depend> <executable>c:\nginx\nginx.ex