Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. nginx tips

Tag: nginx tips

n
nginx October 2, 2023 1 min read by mkyong 0 comments

How to restart Nginx on macOS

We open a Terminal and use the one-liner command sudo nginx -s stop && sudo nginx to restart the Nginx on macOS. Restart the Nginx service. Terminal sudo nginx -s stop && sudo nginx Reload the Nginx configuration file. Terminal sudo nginx -s reload Table of Contents 1. Restart the Nginx on macOS 2. Reload […]

Read more How to restart Nginx on macOS
n
nginx June 5, 2023 1 min read by mkyong 0 comments

How to check Nginx version

We can type the command nginx -v (lowercase v) in Linux, macOS, and Windows to show the Nginx version currently installed on our system. 1. Check Nginx version The Nginx with a lowercase v option, the nginx -V show the version and then exits. In the below output, Nginx version 1.21.0 is currently installed. Terminal […]

Read more How to check Nginx version

Recent Posts

  • Java Compact Source File: No Class, No Static Main
  • Java Scoped Values Example
  • Spring Boot RAG Example with Spring AI
  • Java AtomicInteger Example
  • Java Virtual Threads Example
  • Spring Boot Supabase CRUD Example
  • Spring Boot REST Docs Example
  • How to Install Java on Windows (Step-by-Step Guide)

© 2008–2026 mkyong.com

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use