Learned or Solved Something Today?

Dump it here! Let others learn from you

Showing 2 of 2 from page 1

anonymous posted in #bash #script #snippets #server

Simple Shell or Bash Script To Check If Service Is Running & Restart It When Dead

Very often we are in need to check if a service up and running periodically in linux or ubuntu server and restart them if they are dead Here is a simple bash script that you can use to check any servi

anonymous posted in #nginx #devops #server #config #snippets

Example nginx config for reverse proxy with caching

If you are trying to configure Nginx as a caching reverse proxy then this example might be useful for giving you a heads up Example Nginx configuration for reverse proxy If you need only the reverse p