Skip to content

Commit

Permalink
리드미에 아파치/nginx 설정하는법 기록
Browse files Browse the repository at this point in the history
  • Loading branch information
simnalamburt committed Feb 15, 2016
1 parent 4d42f11 commit 46b03dc
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
유피넬 서버 안내페이지
========

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

```shell
sudo ln -s "$PWD/sodrak" /var/www/welcome
sudo ln -s "$PWD/gemini" /usr/share/nginx/welcome
```

### Apache2/Nginx 설정
```apache
# apache2
<VirtualHost *:80>
DocumentRoot /var/www/welcome
</VirtualHost>
```
```Nginx
# nginx
server {
listen 80 default_server;
server_name _;
root /usr/share/nginx/welcome;
}
```

0 comments on commit 46b03dc

Please sign in to comment.