{"url":"https://tkx.hatenablog.jp/entry/20180415/p2","author_name":"TKX","height":"190","categories":["Linux","CentOS","rep2"],"description":"\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u9806\u756a\u304c\u524d\u5f8c\u3057\u305f\u3051\u3069 Nginx \u306e\u8a2d\u5b9a\u3092\u5909\u66f4 config\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u306f\u3001/etc/nginx/nginx.conf \u306a\u306e\u3060\u304c \u500b\u3005\u306e\u8a2d\u5b9a\u306f ./conf.d/\u914d\u4e0b\u306e *.conf \u3092\u8aad\u307f\u8fbc\u3080\u7528\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067 /etc/nginx/conf.d/\u4ee5\u4e0b\u306b\u3042\u308b\u3001default.conf \u3092\u4fee\u6b63\u3057\u3066\u3082\u826f\u3044\u306e\u3060\u304c VirtualHost\u306e\u8a2d\u5b9a\u3084\u3089\u8003\u3048\u308b\u3068\u30b5\u30a4\u30c8\u6bce\u306bconf\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u307b\u3046\u304c\u826f\u3044\u306e\u3067\u4eca\u56de\u306f\u5225\u30d5\u30a1\u30a4\u30eb\u3067\u69cb\u7bc9 # cat /etc/nginx/conf.d/<\u81ea\u30c9\u30e1\u30a4\u30f3>.conf server { listen <Port No>; server_name <Dom\u2026","published":"2018-04-15 00:00:01","blog_title":"\u65e5\u3005\u96d1\u4e8b&\u5099\u8003\u9332","version":"1.0","type":"rich","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://tkx.hatenablog.jp/","provider_name":"Hatena Blog","title":"CentOS 7 + Nginx + rep2 \u305d\u306e4","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkx.hatenablog.jp%2Fentry%2F20180415%2Fp2\" title=\"CentOS 7 + Nginx + rep2 \u305d\u306e4 - \u65e5\u3005\u96d1\u4e8b&amp;\u5099\u8003\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/TKX/"}