Objective I use HAProxy to serve multiple SSL/TLS enabled sites with HAProxy doing SSL termination. The sites serve regular HTTP while users see proper HTTPS sites (with free certificates from LetsEncrypt). My objective was to provide HTTP Basic Authentication as a second layer of protection for certain applications like NextCloud (DropBox clone) or Gitea (GitHub […]
I run Gogs in a LXD container which runs behind HAProxy in another LXD container. HAProxy handles SSL/TLS connection (SSL Termination). Note: Gogs is a Git service like GitHub or GitLabs. It is written in Go and normally used to host your own git server along with GitHub like interface and functionality (for free). As […]
Often we need to provide secure but restricted sftp access to our clients to upload or download large files. Regular sftp accounts allow the users to view login names of other users/clients and in many default installations even allow them to browse through the directories and files. In addition, they can also view your system […]
॥ निर्वाण षटकम्॥ मनोबुद्ध्यहङ्कार चित्तानि नाहं न च श्रोत्रजिह्वे न च घ्राणनेत्रे । न च व्योम भूमिर्न तेजो न वायुः चिदानन्दरूपः शिवोऽहम् शिवोऽहम् ॥१॥ I am neither the mind, nor the intellect, nor the ego, nor the mind-stuff ; I am neither the body, nor the changes of the body ; I am neither […]
If you’re getting 413 Request Entity Too Large error trying to upload file to nginx server then you need to increase the size limit in nginx.conf . Add client_max_body_size xxM inside the server section where xx is the size in MB.
SOGo Groupware database update after yum upgrade is not normally necessary as it merely reduces the number of tables created for a new collection.
This simple utility is extremely useful in detecting bad redirects and loops, specially in big websites. You can also include it in scripts. wget http://gmail.com 2>&1 | grep Location: The response, in this case, is: Location: https://www.google.com/gmail/ [following] Location: https://mail.google.com/mail/ [following] Location: https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/&ss=1&scc=1<mpl=default<mplcache=2&emr=1&osid=1# [following]
Benefits of hosting your Nameservers Ease of changing hosting providers: Having your own nameservers make it easy when you are changing your hosting providers for two reasons: Zero downtime in switching Minimal change on Domain Register (change Nameserver and Hostname reords only) Other nameserver changes can be done easily with your own nameserver, even scripted […]