Advertisement
niammuddin

nginx redirect config

Jul 31st, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. server {
  2. listen 80;
  3. root /usr/share/nginx/html/foodking.us/public_html;
  4. index index.php index.html index.htm;
  5. server_name www.foodking.us foodking.us;
  6. rewrite ^ http://maoxiandao.asia$request_uri? permanent;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement