Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (24 sloc) 502 Bytes

유피넬 서버 안내페이지

서버별 안내 페이지입니다.

git clone https://github.com/upnl/greeting.git

# 배포판에 따라 두곳중 한곳 택일
sudo mv greetings /var/www/
sudo mv greetings /usr/share/nginx/

웹서버 설정

# apache2
<VirtualHost *:80>
  DocumentRoot /var/www/greeting/<SERVER_NAME>
</VirtualHost>
# nginx
server {
  listen 80 default_server;
  server_name _;
  root /usr/share/nginx/greeting/<SERVER_NAME>;
}