Google doodle celebrates India Republic Day

Image
India achieved independence from the British Raj on 15 August 1947 following the Indian independence movement. The independence came through the Indian Independence Act 1947 (10 & 11 Geo 6 c 30), an Act of the Parliament of the United Kingdom that partitioned British India into the two new independent Dominions of the British Commonwealth (later Commonwealth of Nations India obtained its independence on 15 August 1947 as a constitutional monarchy with George VI as head of state and the Earl Mountbatten as governor-general. Google addded a doodle to celebrate this India Republic Day 2023.

Nginx How to redirect all http and https requests to another site.



We can redirect all http and https requests to another domain using the below script in the nginx configuration.

1. For HTTP redirection

-------
server {
       listen         80;
       server_name    domain.com;
       return         301 https://domain.com$request_uri;
}

2. For HTTPS redirection

------
server {
       listen         443 ssl;
       server_name    domain.com;
       return         301 https://domain.com$request_uri;
       sl_certificate    /etc/ssl/domain.com.pem;
ssl_certificate_key    /etc/ssl/domain.com.key;
}

Comments

Popular posts from this blog