다운받아 nginx가 설치된 경로에 업로드한다. 세부 주소 설정은 regex 공부해서 각자하면되고,
나는 /etc/nginx/sites-available/에 올림
$cd /etc/nginx/sites-available/
$vi default
하고,
server {
root /usr/share/nginx/www/;
index index.php index.html index.htm;
server_name jasontody.com;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to index.html
try_files $uri $uri/ /index.html;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
include /etc/nginx/sites-available/xe.conf;