Configuration of Nginx Server

Consider the code given below: server { listen 80 default_site; root /var/www; index index.html index.htm; ! server_name server_name.com http://www.server_name.com; ! location / { try_files $uri $uri/ =404; } } The above code shows a basic configuration of Nginx so as to serve files on a particular website. It listens on port number 80, which is … Continue reading Configuration of Nginx Server

Basic Docker Commands

If you wish to view all available commands in docker, use the following command: sudo docker or docker mohammedrafi@NOC-RAFI:~$ docker Usage: docker [OPTIONS] COMMAND [arg...] A self-sufficient runtime for linux containers. Options: --api-cors-header= Set CORS headers in the remote API -b, --bridge= Attach containers to a network bridge --bip= Specify network bridge IP -D, --debug=false … Continue reading Basic Docker Commands