Restarting Nginx
Nginx is the server we use for http services.
To test whether it is operative on gtlab, click http://testing.oahpa.no.
Updates to code do not normally require restarting nginx, unless updating configuration
sudo service nginx restart
Pay attention to the output, and trouble any errors that come up.
If you after (re)starting nginx do not see:
- on gtlab when opening testing.oahpa.no, the nginx test page
- or on gtoahpa when opening oahpa.no, the Oahpa.no page itself,
the try restarting iptables as well:
sudo service iptables restart
If for some reason the system is running slowly, inspect processes running,
top
or
htop
, the latter of which is a more updated and easier