checkedresponsive[@]gmail.com

Menu

Category: Nginx

nginx | Page Redirect from OLD URL to NEW URL.

Redirect Page from OLD URL to NEW URL Nginx : Syntax  : rewrite ^/<OLD LOCATION>$ <NEW LOCATION> permanent; Example  : rewrite ^/oldlocation$ http://www.newdomain.com/newlocation permanent;

Default nginx path in ubuntu ?

Nginx Path in Ubuntu /etc/nginx/nginx.conf Edit nginx.conf in Ubuntu pico /etc/nginx/nginx.conf cat /etc/nginx/nginx.conf vi /etc/nginx/nginx.conf Restart nginx Service service nginx restart