Code has been added to clipboard!

URL Redirect: Nginx

Example
server {
    listen 80;
    listen [::]:80;
    hostname bitdegree.org www.bitdegree.org;
    return 301 https://www.bitdegree.org$request_uri;
}