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

Java and Spring tutorials since 2008. Every example is a complete, runnable file, compiled and run on a real machine before it goes out.

About This Site

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

© 2026 mkyong.com — Powered by WordPress

RSS