Showing posts from December, 2018

How to enable directory listing in Nginx

Enabling the Nginx Directory Index Listing If you are using Nginx web server and you want to display folder in Nginx by web you need to change "autoindex on; in your conf file", By default we can't open directory from Nginx web.  Enable Directory listing : Open your nginx conf file and change. s erver {         listen 80 default_server;         listen [::]:80 default_server; root /var/www/html; index index.html index.htm index.nginx-debian.html;         autoindex on; # for enable directory listing          server_name _;         location / {   try_files $uri $uri/ =404;         } }

Converting Your Private Keys Linux

How to generate .ppk file from .pem Linux command line. Install puttygen command line tool to convert file. $ apt-get install putty-tools   After install puttygen, you need to run below command. $ puttygen pemKey.pem -o ppkKey.ppk -O private Run the puttygen command to convert a .ppk file into a .pem file. $ puttygen ppkkey.ppk -O private-openssh -o pemkey.pem