0
0
Nginxdevops~5 mins

Configuration reload vs restart in Nginx - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What does configuration reload mean in nginx?
It means nginx reads the new configuration files and applies changes without stopping the server. It keeps serving users without interruption.
Click to reveal answer
beginner
What happens during an nginx restart?
Nginx stops completely and then starts again. This interrupts all current connections and can cause downtime.
Click to reveal answer
beginner
Which command reloads nginx configuration without downtime?
nginx -s reload sends a signal to reload config smoothly.
Click to reveal answer
intermediate
Why might you choose to restart nginx instead of reload?
If the configuration change is very big or if nginx is not responding well, a restart ensures a fresh start.
Click to reveal answer
beginner
What is the risk of restarting nginx on a busy website?
Restarting causes downtime, so users may see errors or delays while nginx stops and starts again.
Click to reveal answer
What does nginx -s reload do?
AReloads configuration without stopping nginx
BStops nginx immediately
CRestarts nginx with downtime
DDeletes nginx configuration files
Which action causes downtime for nginx?
AView nginx logs
BReload configuration
CCheck nginx status
DRestart nginx
When should you restart nginx instead of reload?
AWhen nginx is unresponsive
BTo view status
CTo check logs
DFor small config changes
What is the main benefit of reloading nginx config?
ADeletes old config
BFaster server restart
CNo downtime
DStops all connections
Which signal does nginx use to reload configuration?
ASIGTERM
BSIGHUP
CSIGKILL
DSIGSTOP
Explain the difference between nginx configuration reload and restart.
Think about how the server behaves during each action.
You got /4 concepts.
    When would you prefer to restart nginx instead of reloading the configuration?
    Consider situations where reload might not be enough.
    You got /4 concepts.