{"id":238,"date":"2023-11-05T08:10:23","date_gmt":"2023-05-25T12:17:15","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/"},"modified":"2025-07-31T21:53:32","modified_gmt":"2025-07-31T12:53:32","slug":"rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/","title":{"rendered":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>Nginx\u306f\u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308bWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4e00\u3064\u3067\u3042\u308a\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u3067\u6700\u3082\u5927\u304d\u304f\u3066\u9ad8\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306a\u30b5\u30a4\u30c8\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u307e\u305f\u306f\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u3001\u8efd\u91cf\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001Rocky Linux 9 \u30b5\u30fc\u30d0\u30fc\u306b Nginx \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8abf\u6574\u3001Nginx \u30d7\u30ed\u30bb\u30b9\u306e\u7ba1\u7406\u3001\u304a\u3088\u3073\u5358\u4e00\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u8907\u6570\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u30db\u30b9\u30c8\u3059\u308b\u305f\u3081\u306e\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u3092\u59cb\u3081\u308b\u524d\u306b\u3001\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067sudo\u6a29\u9650\u304c\u8a2d\u5b9a\u3055\u308c\u305f\u901a\u5e38\u306e\u975e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3092\u6301\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Rocky Linux 9\u306e\u521d\u671f\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30ac\u30a4\u30c9\u306b\u5f93\u3063\u3066\u3001\u901a\u5e38\u306e\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3092\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u6700\u5f8c\u306e\u624b\u9806\u3092\u5b8c\u4e86\u3059\u308b\u524d\u306b\u3001\u30c9\u30e1\u30a4\u30f3\u540d\u306e\u767b\u9332\u3082\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u884c\u3046\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002Silicon Cloud\u3067\u30c9\u30e1\u30a4\u30f3\u540d\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u5b66\u3076\u306b\u306f\u3001Silicon Cloud DNS\u306e\u5c0e\u5165\u306b\u3064\u3044\u3066\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u5229\u7528\u53ef\u80fd\u306a\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30ce\u30f3\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u958b\u59cb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71\uff1aNginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u30ed\u30c3\u30ad\u30fc\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u306fNginx\u304c\u5229\u7528\u53ef\u80fd\u306a\u306e\u3067\u3001dnf\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u4f7f\u7528\u3057\u3066\u5358\u4e00\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>dnf install\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001nginx\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6307\u793a\u306b\u5f93\u3063\u3066\u3001nginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306by\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u5f8c\u3001dnf\u306fNginx\u304a\u3088\u3073\u5fc5\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3092\u6709\u52b9\u5316\u30fb\u8d77\u52d5\u3055\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> nginx<\/li>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl start nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u304c\u518d\u8d77\u52d5\u3059\u308b\u5ea6\u306b\u3001Nginx\u304c\u81ea\u52d5\u7684\u306b\u518d\u8d77\u52d5\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u65b0\u3057\u3044\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u306f\u8d77\u52d5\u3057\u3066\u7a3c\u50cd\u3059\u308b\u306f\u305a\u3067\u3059\u304c\u3001\u30c6\u30b9\u30c8\u3059\u308b\u524d\u306b\u304a\u305d\u3089\u304f\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72 \u2013 \u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8abf\u6574<\/h2>\n<p>Rocky Linux 9\u306e\u521d\u671f\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30ac\u30a4\u30c9\u306e\u4e00\u74b0\u3068\u3057\u3066\u3001firewalld\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u6709\u52b9\u306b\u3057\u305f\u5834\u5408\u3001Nginx\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30dd\u30fc\u30c880\u3067\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001\u5916\u90e8\u63a5\u7d9a\u3092\u8a31\u53ef\u3059\u308b\u305f\u3081\u306b\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a\u3092\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30dd\u30fc\u30c880\u3067HTTP\u63a5\u7d9a\u3092\u6c38\u4e45\u306b\u6709\u52b9\u5316\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;add-service<span class=\"token operator\">=<\/span><mark>http<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b63\u3057\u304fhttp\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u304c\u8ffd\u52a0\u3055\u308c\u305f\u304b\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;list-all<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002 (Kono y\u014dna shutsuryoku ga hy\u014dji sa remasu.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>public target: default icmp-block-inversion: no interfaces: sources: services: cockpit dhcpv6-client <mark>http<\/mark> ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules:<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5909\u66f4\u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">&#8211;reload<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u5916\u90e8\u306e\u8a2a\u554f\u8005\u304c\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 &#8211; \u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u306e\u78ba\u8a8d<\/h2>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u3042\u306a\u305f\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u306f\u8d77\u52d5\u3057\u3066\u904b\u7528\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001systemctl status\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">systemctl status nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u25cf nginx.service &#8211; The nginx HTTP and reverse proxy server Loaded: loaded (\/usr\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2022-09-14 21:03:46 UTC; 7min ago Process: 18384 ExecStartPre=\/usr\/bin\/rm -f \/run\/nginx.pid (code=exited, status=0\/SUCCESS) Process: 18385 ExecStartPre=\/usr\/sbin\/nginx -t (code=exited, status=0\/SUCCESS) Process: 18386 ExecStart=\/usr\/sbin\/nginx (code=exited, status=0\/SUCCESS) Main PID: 18387 (nginx) Tasks: 3 (limit: 10938) Memory: 2.8M CPU: 43ms CGroup: \/system.slice\/nginx.service \u251c\u250018387 &#8220;nginx: master process \/usr\/sbin\/nginx&#8221; \u251c\u250018388 &#8220;nginx: worker process&#8221; \u2514\u250018389 &#8220;nginx: worker process&#8221;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u51fa\u529b\u306b\u3088\u3063\u3066\u78ba\u8a8d\u3055\u308c\u305f\u901a\u308a\u3001\u30b5\u30fc\u30d3\u30b9\u306f\u6b63\u5e38\u306b\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u3092\u78ba\u304b\u3081\u308b\u306b\u306f\u5b9f\u969b\u306bNginx\u304b\u3089\u30da\u30fc\u30b8\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u306e\u304c\u6700\u5584\u306e\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u79fb\u52d5\u3057\u3066\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001icanhazip.com\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306e\u5225\u306e\u5834\u6240\u304b\u3089\u53d7\u4fe1\u3057\u305f\u516c\u958bIP\u30a2\u30c9\u30ec\u30b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-4<\/span> icanhazip.com<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3057\u305f\u3089\u3001\u305d\u308c\u3092\u30d6\u30e9\u30a6\u30b6\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>http:\/\/<mark>your_server_ip<\/mark>\r\n<\/code><\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u306e\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3092\u53d7\u3051\u53d6\u308b\u3079\u304d\u3067\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656469c0daa94e2bdf7b5552\/37-0.png\" alt=\"Nginx default page\" \/><\/div>\n<p>\u3082\u3057\u3082\u3042\u306a\u305f\u304c\u3053\u306e\u30da\u30fc\u30b8\u306b\u3044\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u3042\u306a\u305f\u306e\u30b5\u30fc\u30d0\u30fc\u306f\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u304a\u308a\u3001\u7ba1\u7406\u3059\u308b\u6e96\u5099\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74 &#8211; Nginx\u30d7\u30ed\u30bb\u30b9\u306e\u7ba1\u7406<\/h2>\n<p>\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3044\u304f\u3064\u304b\u306e\u30b5\u30fc\u30d3\u30b9\u7ba1\u7406\u30b3\u30de\u30f3\u30c9\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3092\u505c\u6b62\u3059\u308b\u306b\u306f\u3001systemctl stop\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl stop nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u304c\u505c\u6b62\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001systemctl start\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl start nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u505c\u6b62\u3057\u3066\u304b\u3089\u518d\u8d77\u52d5\u3059\u308b\u306b\u306f\u3001systemctl restart \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl restart nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u8a2d\u5b9a\u306e\u5909\u66f4\u306e\u307f\u3092\u884c\u3046\u5834\u5408\u3001Nginx\u306f\u901a\u4fe1\u3092\u5207\u65ad\u3059\u308b\u3053\u3068\u306a\u304f\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001systemctl reload\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl reload nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u524d\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u8d77\u52d5\u6642\u306bNginx\u3092\u81ea\u52d5\u7684\u306b\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002systemctl disable\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u6319\u52d5\u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl disable nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u8d77\u52d5\u6642\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u5ea6\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<h2>\u30b9\u30c6\u30c3\u30d75 \u2013 \u91cd\u8981\u306aNginx\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u6163\u308c\u308b<\/h2>\n<p>Nginx\u30b5\u30fc\u30d3\u30b9\u306e\u7ba1\u7406\u65b9\u6cd5\u3092\u628a\u63e1\u3057\u305f\u306e\u306a\u3089\u3001\u91cd\u8981\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u6570\u5206\u9593\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u3064\u3044\u3066\u3001\u65e5\u672c\u8a9e\u3067\u306e\u81ea\u7136\u306a\u8a00\u3044\u63db\u3048\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/h3>\n<ul class=\"post-ul\">\n<li>\/usr\/share\/nginx\/html: The actual web content, which by default only consists of the default Nginx page you saw earlier, is served out of the \/usr\/share\/nginx\/html directory. This can be changed by altering the Nginx configuration files.<\/li>\n<\/ul>\n<h3>\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a<\/h3>\n<ul class=\"post-ul\">\n<li>\/etc\/nginx: The Nginx configuration directory. All of the Nginx configuration files reside here.<\/li>\n<li>\/etc\/nginx\/nginx.conf: The main Nginx configuration file. This can be modified to make changes to the Nginx global configuration.<\/li>\n<li>\/etc\/nginx\/conf.d\/: This directory contains server block configuration files, where you can define the websites that are hosted within Nginx. A typical approach is to have each website in a separate file that is named after the website\u2019s domain name, such as your_domain.conf.<\/li>\n<\/ul>\n<h3>\u30b5\u30fc\u30d0\u30fc\u30ed\u30b0<\/h3>\n<ul class=\"post-ul\">\n<li>\/var\/log\/nginx\/access.log: Every request to your web server is recorded in this log file unless Nginx is configured to do otherwise.<\/li>\n<li>\/var\/log\/nginx\/error.log: Any Nginx errors will be recorded in this log.<\/li>\n<\/ul>\n<p>\u4eca\u30011\u3064\u4ee5\u4e0a\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u30db\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u30b5\u30a4\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u6e96\u5099\u304c\u6574\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d76-\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u306e\u8a2d\u5b9a\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09<\/h2>\n<p>Nginx\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u3001server blocks\uff08Apache\u306e\u4eee\u60f3\u30db\u30b9\u30c8\u306b\u4f3c\u305f\u3082\u306e\uff09\u3092\u4f7f\u7528\u3057\u3066\u3001\u8a2d\u5b9a\u306e\u8a73\u7d30\u3092\u6574\u7406\u3057\u30011\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u8907\u6570\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u30db\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Rocky Linux 9\u3067\u306f\u3001server blocks\u306f\/etc\/nginx\/conf.d\u306b\u3042\u308b.conf\u30d5\u30a1\u30a4\u30eb\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002your_domain\u3068\u3044\u3046\u30c9\u30e1\u30a4\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u304c\u3001\u3054\u81ea\u8eab\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001Rocky Linux 9\u4e0a\u306eNginx\u306f\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\/usr\/share\/nginx\/html\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u63d0\u4f9b\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u5358\u4e00\u306e\u30b5\u30a4\u30c8\u306b\u306f\u3046\u307e\u304f\u6a5f\u80fd\u3057\u307e\u3059\u304c\u3001\u8907\u6570\u306e\u30b5\u30a4\u30c8\u3092\u30db\u30b9\u30c8\u3059\u308b\u5834\u5408\u306b\u306f\u7ba1\u7406\u304c\u96e3\u3057\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\/usr\/share\/nginx\/html\u3092\u5909\u66f4\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\/var\/www\u5185\u306byour_domain\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u5411\u3051\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u4ed6\u306e\u30b5\u30a4\u30c8\u306b\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3042\u308b\/usr\/share\/nginx\/html\u304c\u63d0\u4f9b\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001-p\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3057\u3066\u5fc5\u8981\u306a\u89aa\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u3001your_domain\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/var\/www\/<mark>your_domain<\/mark>\/html<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001$USER\u74b0\u5883\u5909\u6570\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u6240\u6709\u6a29\u3092\u5272\u308a\u5f53\u3066\u307e\u3059\u3002\u3053\u306e\u74b0\u5883\u5909\u6570\u306f\u3001\u73fe\u5728\u306e\u30b7\u30b9\u30c6\u30e0\u30e6\u30fc\u30b6\u30fc\u3092\u53c2\u7167\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> <span class=\"token parameter variable\">-R<\/span> <span class=\"token environment constant\">$USER<\/span><span class=\"token builtin class-name\">:<\/span><span class=\"token environment constant\">$USER<\/span> \/var\/www\/<mark>your_domain<\/mark>\/html<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u306eindex.html\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u306e\u8a2d\u5b9a\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002Rocky Linux 9\u306b\u306fvi\u3068\u3044\u3046\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002vi\u306f\u975e\u5e38\u306b\u30d1\u30ef\u30d5\u30eb\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3059\u304c\u3001\u7d4c\u9a13\u306e\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u306f\u3084\u3084\u308f\u304b\u308a\u306b\u304f\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002Rocky Linux 9\u30b5\u30fc\u30d0\u30fc\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u305f\u3081\u306b\u3001nano\u306e\u3088\u3046\u306a\u3088\u308a\u4f7f\u3044\u3084\u3059\u3044\u30a8\u30c7\u30a3\u30bf\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> <span class=\"token function\">nano<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001nano\u307e\u305f\u306f\u304a\u6c17\u306b\u5165\u308a\u306e\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30f3\u30d7\u30eb\u306eindex.html\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nano<\/span> \/var\/www\/<mark>your_domain<\/mark>\/html\/index.html<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5185\u90e8\u306b\u3001\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30ebHTML\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/var\/www\/your_domain\/html\/index.html \u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306b\u8a00\u3044\u63db\u3048\u3066\u307f\u307e\u3059\uff1a\u300c\/var\/www\/your_domain\/html\/index.html\u300d<\/div>\n<pre class=\"post-pre\"><code>&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;title&gt;Welcome to <mark>your_domain<\/mark>&lt;\/title&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;h1&gt;Success! Your Nginx server is successfully configured for &lt;em&gt;<mark>your_domain<\/mark>&lt;\/em&gt;. &lt;\/h1&gt;\r\n&lt;p&gt;This is a sample page.&lt;\/p&gt;\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u4f5c\u696d\u304c\u7d42\u4e86\u3057\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002nano\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001CTRL + X\u3092\u62bc\u3057\u3066\u4fdd\u5b58\u3057\u3066\u7d42\u4e86\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001Y\u3092\u62bc\u3057\u3066\u304b\u3089Enter\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Nginx\u304c\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u306e\u30a6\u30a7\u30d6\u30eb\u30fc\u30c8\u3092\u6307\u3059\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u542b\u3080\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\/etc\/nginx\/conf.d\/your_domain.conf\u306b\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/nginx\/conf.d\/<mark>your_domain.conf<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u30d6\u30ed\u30c3\u30af\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/ etc \/ nginx \/ conf.d \/ your_domain.conf<br \/>\n\/\u30a8\u30c6\u30a3\u30b7\u30fc\/ \u30a8\u30cc\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\/ \u30b3\u30f3\u30d5\u30a3\u30b0 \/ \u30c7\u30a3\u30fc \/ \u30e6\u30a2\u30fc \/ \u30c9\u30e1\u30a4\u30f3.\u30b3\u30f3\u30d5<\/div>\n<pre class=\"post-pre\"><code>server {\r\n        listen 80;\r\n        listen [::]:80;\r\n\r\n        root \/var\/www\/<mark>your_domain<\/mark>\/html;\r\n        index index.html index.htm index.nginx-debian.html;\r\n\r\n        server_name <mark>your_domain<\/mark> www.<mark>your_domain<\/mark>;\r\n\r\n        location \/ {\r\n                try_files $uri $uri\/ =404;\r\n        }\r\n}\r\n<\/code><\/pre>\n<p>\u65b0\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30eb\u30fc\u30c8\u306e\u8a2d\u5b9a\u3092\u66f4\u65b0\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u540d\u3092\u30c9\u30e1\u30a4\u30f3\u540d\u306b\u5909\u66f4\u3057\u305f\u3053\u3068\u306b\u6c17\u4ed8\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u73fe\u5728\u30012\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u304c\u6709\u52b9\u306b\u306a\u308a\u3001\u305d\u306elisten\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3068server_name\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u57fa\u3065\u3044\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5fdc\u7b54\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\uff08Nginx\u304c\u3053\u308c\u3089\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u3067\u8a73\u7d30\u3092\u8aad\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff09\u3002<\/p>\n<ul class=\"post-ul\">\n<li>your_domain: Will respond to requests for your_domain and www.your_domain.<\/li>\n<li>default: Will respond to any requests on port 80 that do not match the other two blocks.<\/li>\n<\/ul>\n<p>\u6b21\u306b\u3001nginx -t\u3092\u4f7f\u3063\u3066\u3001Nginx\u30d5\u30a1\u30a4\u30eb\u306e\u3044\u305a\u308c\u306b\u3082\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u306a\u3044\u3053\u3068\u3092\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> nginx <span class=\"token parameter variable\">-t<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001\u5909\u66f4\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u306bNginx\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl restart nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067\u5909\u66f4\u3092\u30c6\u30b9\u30c8\u3059\u308b\u524d\u306b\u3001\u30b5\u30fc\u30d0\u30fc\u306eSELinux\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u66f4\u65b0\u3057\u3066\u3001Nginx\u304c\/var\/www\/your_domain\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u63d0\u4f9b\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306echcon\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u66f4\u65b0\u306b\u3088\u308a\u3001\u30ab\u30b9\u30bf\u30e0\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u3092HTTP\u30b3\u30f3\u30c6\u30f3\u30c4\u3068\u3057\u3066\u63d0\u4f9b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">chcon <span class=\"token parameter variable\">-vR<\/span> system_u:object_r:httpd_sys_content_t:s0 \/var\/www\/<mark>your_domain<\/mark>\/<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u73fe\u5728\u3001Nginx\u306f\u3042\u306a\u305f\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u306f\u3001http:\/\/your_domain\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u793a\u304c\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656469c0daa94e2bdf7b5552\/93-0.PNG\" alt=\"Nginx first server block\" \/><\/div>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u4ee5\u4e0a\u3001\u63d0\u4f9b\u3059\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u7a2e\u985e\u3084\u3088\u308a\u8c4a\u304b\u306a\u4f53\u9a13\u3092\u4f5c\u308a\u51fa\u3059\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u6280\u8853\u306b\u306f\u3001\u591a\u304f\u306e\u9078\u629e\u80a2\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b99\u3067Let&#8217;s Encrypt\u3092\u4f7f\u7528\u3057\u3066\u7121\u6599\u306eSSL\u8a3c\u660e\u66f8\u3067\u30c9\u30e1\u30a4\u30f3\u540d\u306eHTTPS\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001\u300cLet&#8217;s Encrypt\u3092\u4f7f\u7528\u3057\u3066Nginx\u3092\u5b89\u5168\u306b\u3059\u308b\u65b9\u6cd5\u300d\u306b\u9032\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Nginx\u306f\u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308bWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4e00\u3064\u3067\u3042\u308a\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u3067\u6700\u3082\u5927\u304d\u304f\u3066\u9ad8\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306a\u30b5\u30a4\u30c8\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u307e\u305f\u306f\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u3001\u8efd\u91cf\u306a\u30aa\u30d7\u30b7 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,17],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-17"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bnginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\" \/>\n<meta property=\"og:description\" content=\"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bnginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-25T12:17:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T12:53:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656469c0daa94e2bdf7b5552\/37-0.png\" \/>\n<meta name=\"author\" content=\"\u6d77\u6597, \u8475\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6d77\u6597, \u8475\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"20\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/\",\"name\":\"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-05-25T12:17:15+00:00\",\"dateModified\":\"2025-07-31T12:53:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6\"},\"description\":\"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6\",\"name\":\"\u6d77\u6597, \u8475\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g\",\"caption\":\"\u6d77\u6597, \u8475\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/kaitoaoi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002 - Blog - Silicon Cloud","description":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bnginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\/","og_locale":"ja_JP","og_type":"article","og_title":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002","og_description":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u306bnginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-25T12:17:15+00:00","article_modified_time":"2025-07-31T12:53:32+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656469c0daa94e2bdf7b5552\/37-0.png"}],"author":"\u6d77\u6597, \u8475","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u6d77\u6597, \u8475","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"20\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/","name":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-05-25T12:17:15+00:00","dateModified":"2025-07-31T12:53:32+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6"},"description":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Rocky Linux 9\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6","name":"\u6d77\u6597, \u8475","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g","caption":"\u6d77\u6597, \u8475"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/kaitoaoi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%abnginx%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af%e6%ac%a1%e3%81%ae%e9%80%9a%e3%82%8a%e3%81%a7%e3%81%99%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":38087,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/238\/revisions\/38087"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}