Advertisement
niammuddin

Perintah cepat bikin virtualhost nginx

Jan 19th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. sudo mkdir -p /usr/share/nginx/html/ltcprotection.info/public_html && sudo chown -R www-data:www-data /usr/share/nginx/html/ltcprotection.info/public_html && sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/ltcprotection.info && sudo ln -s /etc/nginx/sites-available/ltcprotection.info /etc/nginx/sites-enabled/ltcprotection.info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement