How To Enable HTTP/3 over QUIC in HAProxy
Posted by blackonsole on November 10th, 2023 08:30 PM | No Comment
What's QUIC
QUIC (Quick UDP Internet Connections) is a transport layer network protocol developed by Google. QUIC supports a set of multiplexed connections between two endpoints over User Datagram Protocol (UDP), and it was designed to provide security protection equivalent to ...
Hide PHP-FPM Version on NGINX
Posted by blackonsole on August 12th, 2017 02:06 PM | No Comment
Check PHP-FPM version on NGINX HTTP response
$ curl -I localhost/index.php
HTTP/1.1 200 OK
Date: Sat, 12 Aug 2017 14:07:54 GMT
Content-Type: text/html
Connection: keep-alive
X-Powered-By: PHP/5.5.9-1ubuntu4.22
How to hide PHP-FPM Version (X-Powered-By:) on NGINX
vim /etc/php5/fpm/php.ini
expose_php = Off
Restart php5-fpm service
/etc/init.d/php5-fpm restart
Check the result
$ curl -I localhost/index.php
HTTP/1.1 200 ...
Hide Server Info Response on NGINX
Posted by blackonsole on August 12th, 2017 05:00 AM | No Comment
How to hide `Server:` Response info on NGINX
$ curl -I localhost
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Date: Fri, 11 Aug 2017 14:09:04 GMT
Content-Type: text/html
Content-Length: 612
Last-Modified: Tue, 04 Mar 2014 11:46:45 GMT
Connection: keep-alive
ETag: "5315bd25-264"
Accept-Ranges: bytes
To hide `Server:` on HTTP Response, you need install ...
How to install Gitlab in Ubuntu 14.04
Posted by blackonsole on November 1st, 2015 03:32 AM | No Comment
What is Gitlab
GitLab is a web-based Git repository manager with wiki and issue tracking features.
How to install Gitlab in Ubuntu 14.04
0. Install Dependencies
apt-get update
apt-get install curl openssh-server ca-certificates postfix
1. Add Gitlab Repository
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
2. Install Gitlab
apt-get install gitlab-ce
3. ...