NGINX

๊ธฐ์กด Apache ๋ž‘ ์ฐจ์ด์ 

  • apache
    • ์š”์ฒญ๋งˆ๋‹ค ์Šค๋ ˆ๋“œ ํ˜น์€ ํ”„๋กœ์„ธ์Šค ์ƒ์„ฑ ๋ฐ ์ฒ˜๋ฆฌ
  • nginx
    • ์š”์ฒญ๋งˆ๋‹ค ๋น„๋™๊ธฐ ์ด๋ฒคํŠธ๋ฅผ ๋ฐœ์ƒ์‹œ์ผœ ์ฒ˜๋ฆฌ

proxy_pass

/etc/nginx/sites-available/default ๊ฒฝ๋กœ๋ฅผ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•œ๋‹ค.

์ด์ „ ํŒŒ์ผ์€ ๋ฐฑ์—… ํ•œ๋‹ค.

server {
        listen 80;

        server_name localhost;

        location / {
                proxy_pass http://localhost:8080;
        }
}