{"id":7671,"date":"2026-10-17T00:57:37","date_gmt":"2026-10-16T15:57:37","guid":{"rendered":"https:\/\/taitan916.info\/blog\/?p=7671"},"modified":"2026-09-22T16:57:19","modified_gmt":"2026-09-22T07:57:19","slug":"post-7671","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/7671","title":{"rendered":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><a href=\"https:\/\/taitan916.info\/blog\/archives\/7627\" target=\"_blank\" rel=\"noopener\">AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883<\/a>\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u3084\u308a\u305f\u3044\u3053\u3068<\/h2>\n<ul>\n<li>\u904b\u7528\u4e2d\u306eWordPress\u306e\u79fb\u884c<\/li>\n<li>WordPress\u306e\u9ad8\u901f\u5316\u3001\u8ca0\u8377\u5bfe\u7b56\u7b49\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0<\/li>\n<li>\u30db\u30b9\u30c8\u5074Nginx\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a<\/li>\n<li>\u30b3\u30f3\u30c6\u30ca\u5074Apache\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u8a2d\u5b9a<\/li>\n<li>Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><span id=\"i-2\"><span id=\"i\">\u74b0\u5883\u306b\u3064\u3044\u3066<\/span><\/span><\/h2>\n<h3><span id=\"VPS\">VPS<\/span><\/h3>\n<p>\u4eca\u56de\u306f<a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=4BC6AZ+EAEJG2+7YE+NXU8I\" target=\"_blank\" rel=\"noopener\">KAGOYA CLOUD VPS<\/a>\u306eCPU1\u30b3\u30a2 \/ \u30e1\u30e2\u30ea1GB\u30d7\u30e9\u30f3\u3067\u4f5c\u696d\u3057\u305f\u3002SSH\u63a5\u7d9a\u306f<a href=\"https:\/\/support.kagoya.jp\/vps\/manual\/index.php?action=artikel&amp;cat=25&amp;id=9&amp;artlang=ja\" target=\"_blank\" rel=\"noopener\">\u516c\u5f0f\u6848\u5185<\/a>\u306e\u901a\u308a\u4ee5\u4e0b\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3002<\/p>\n<ul>\n<li>\u63a5\u7d9a\u30dd\u30fc\u30c8 -&gt; 22<\/li>\n<li>\u30e6\u30fc\u30b6\u540d -&gt; root<\/li>\n<li>\u30d1\u30b9\u30ef\u30fc\u30c9 or \u79d8\u5bc6\u9375 -&gt; \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4f5c\u6210\u6642\u306b\u9078\u629e\u3057\u305f\u3082\u306e<\/li>\n<\/ul>\n<h3><span id=\"VPS-2\"><span id=\"VPS_AlmaLinux_Nginx\"><span id=\"VPS_AlmaLinux\"><span id=\"VPS_AlmaLinux_Apache\"><span id=\"AlmaLinux_Apache\">\u30db\u30b9\u30c8(VPS)\u5074<\/span><\/span><\/span><\/span><\/span><\/h3>\n<ul>\n<li>AlmaLinux release 9.8 (Olive Jaguar)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n<h3>\u4e8b\u524d\u6e96\u5099<\/h3>\n<h4>WordPress\u95a2\u9023\u30d5\u30a1\u30a4\u30eb<\/h4>\n<p>WordPress\u95a2\u9023\u306e\u4e0d\u8981\u306a\u30c6\u30fc\u30de\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3001\u30d5\u30a1\u30a4\u30eb\u306f\u524a\u9664\u3057\u305f\u4e0a\u3067\u4ee5\u4e0b\u306e\u901a\u308azip\u5727\u7e2e\u3057\u3001wordpress.zip\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># WordPress\u8a2d\u7f6e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\r\ncd \/var\/www\/html\r\n\r\n# WordPress\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4e38\u3054\u3068zip\u5727\u7e2e\r\nzip -r wordpress.zip wordpress<\/pre>\n<p>\u307e\u305f\u3001\u79fb\u884c\u5f8c\u306e\u30b5\u30fc\u30d0\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u4e0a\u3001\u4ee5\u4e0b\u3067\u5c55\u958b\u3068\u6240\u6709\u8005\u30fb\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># WordPress\u3092\u8a2d\u7f6e\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\r\ncd \/var\/www\/html\r\n\r\n# \uff08\u5fc5\u8981\u306b\u5fdc\u3058\u3066\uff09zip\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\ndnf -y install zip\r\n\r\n# \u5c55\u958b\r\nunzip wordpress.zip\r\n\r\n# zip\u30d5\u30a1\u30a4\u30eb\u306f\u524a\u9664\r\nrm -r wordpress.zip\r\n\r\n# \u30db\u30b9\u30c8\u5074\u306e\u6240\u6709\u8005\u30fb\u30b0\u30eb\u30fc\u30d7\u8a2d\u5b9a\r\nchown -R test_user:nginx \/var\/www\/html\r\n\r\n# \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u4e00\u62ec\u8a2d\u5b9a\r\nfind \/var\/www\/html -type d -exec chmod 775 {} +\r\nfind \/var\/www\/html -type f -exec chmod 664 {} +\r\n\r\n# SGID\u8a2d\u5b9a\r\nfind \/var\/www\/html -type d -exec chmod g+s {} +\r\n\r\n# \u73fe\u5728\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u30fb\u30d5\u30a9\u30eb\u30c0\u306b\u5bfe\u3057\u3001uid33\uff08www-data\uff09\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5168\u6a29\u9650\u3092\u4ed8\u4e0e\r\nsetfacl -R -m u:33:rwx \/var\/www\/html\r\n\r\n# \u4eca\u5f8c\u4f5c\u3089\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u30fb\u30d5\u30a9\u30eb\u30c0\u306b\u5bfe\u3057\u3066\u3082\u4e0a\u8a18\u8a2d\u5b9a\u304c\u5f15\u304d\u7d99\u304c\u308c\u308b\u3088\u3046\u8a2d\u5b9a\r\nsetfacl -R -d -m u:33:rwx \/var\/www\/html<\/pre>\n<h4>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u95a2\u9023\uff08MySQL\uff09<\/h4>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u95a2\u3057\u3066\u4ee5\u4e0b\u306e\u901a\u308a\u3001\u30ea\u30d3\u30b8\u30e7\u30f3\u306e\u524a\u9664\u3084MyISAM\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30c6\u30fc\u30d6\u30eb\u304c\u3042\u308b\u5834\u5408\u306fInnoDB\u306b\u5909\u66f4\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u30ea\u30d3\u30b8\u30e7\u30f3\u306e\u524a\u9664\r\nDELETE FROM wp_posts \r\nWHERE post_type = 'revision';\r\n\r\n# MyISAM\u8a2d\u5b9a\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u3092\u8868\u793a\r\nSELECT TABLE_NAME, ENGINE \r\nFROM information_schema.TABLES \r\nWHERE TABLE_SCHEMA = DATABASE() \r\nAND ENGINE = 'MyISAM';\r\n\r\n# InnoDB\u306b\u5909\u66f4\u3059\u308bSQL\u6587\u3092\u8868\u793a\r\nSELECT CONCAT('ALTER TABLE ', TABLE_NAME, ' ENGINE=InnoDB;') AS ExecutionSQL\r\nFROM information_schema.TABLES\r\nWHERE TABLE_SCHEMA = DATABASE() \r\nAND ENGINE = 'MyISAM';<\/pre>\n<p>\u4e0a\u8a18\u5bfe\u5fdc\u5f8c\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3001\u65b0\u30b5\u30fc\u30d0\u5074\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3002\u5c1a\u3001<strong>\u4ee5\u4e0b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u79fb\u884c\u3057\u306a\u3044\u3088\u3046\u6ce8\u610f<\/strong>\u3002<\/p>\n<ul>\n<li>information_schema<\/li>\n<li>mysql<\/li>\n<li>performance_schema<\/li>\n<li>sys<\/li>\n<\/ul>\n<p>\u307e\u305f\u3001\u65b0\u30b5\u30fc\u30d0\u5074\u3067WordPress\u7528\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3059\u308b\u304b\u3001\u3082\u3057\u304f\u306f\u65e2\u5b58\u30e6\u30fc\u30b6\u30fc\u306b\u6a29\u9650\u3092\u4e0e\u3048\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># ---------- WordPress\u7528\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408 ----------\r\n\r\n# DB\u30b3\u30f3\u30c6\u30ca\u306b\u30ed\u30b0\u30a4\u30f3\r\npodman exec -it \u3010\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7528\u30b3\u30f3\u30c6\u30ca\u540d\u3011 mariadb -u root -p\u3010root\u30d1\u30b9\u30ef\u30fc\u30c9\u3011\r\n\r\n# \u30e6\u30fc\u30b6\u30fc\u4f5c\u6210\u3057\u6a29\u9650\u3092\u4ed8\u4e0e\uff08\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3001\u30e6\u30fc\u30b6\u30fc\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u9069\u5b9c\u5909\u66f4\uff09\r\nCREATE USER '\u30e6\u30fc\u30b6\u30fc'@'%' IDENTIFIED BY '\u30d1\u30b9\u30ef\u30fc\u30c9';\r\nGRANT ALL PRIVILEGES ON \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d.* TO 'wp_user'@'%';\r\n\r\n# \u8a2d\u5b9a\u53cd\u6620\r\nFLUSH PRIVILEGES;\r\n\r\n# \u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\u78ba\u8a8d\r\nSELECT user, host FROM mysql.user;\r\n\r\n\r\n# ---------- \u65e2\u5b58\u30e6\u30fc\u30b6\u30fc\u306b\u5168\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u5834\u5408 ----------\r\n\r\n# DB\u30b3\u30f3\u30c6\u30ca\u306b\u30ed\u30b0\u30a4\u30f3\r\npodman exec -it \u3010\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7528\u30b3\u30f3\u30c6\u30ca\u540d\u3011 mariadb -u root -p\u3010root\u30d1\u30b9\u30ef\u30fc\u30c9\u3011\r\n\r\n# \u65e2\u5b58\u30e6\u30fc\u30b6\u30fc\u306b\u5168\u6a29\u9650\u4ed8\u4e0e\r\nGRANT ALL PRIVILEGES ON *.* TO '\u30e6\u30fc\u30b6\u30fc'@'%' WITH GRANT OPTION;\r\n\r\n# \u8a2d\u5b9a\u53cd\u6620\r\nFLUSH PRIVILEGES;\r\n\r\n# \u65e2\u5b58\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3092\u78ba\u8a8d\uff08GRANT ALL PRIVILEGES ON\u304c\u4ed8\u3044\u3066\u3044\u308c\u3070OK\uff09\r\nSHOW GRANTS FOR '\u30e6\u30fc\u30b6\u30fc'@'%';<\/pre>\n<h5>\uff08\u5fc5\u8981\u306b\u5fdc\u3058\u3066\uff09\u30b5\u30a4\u30c8\u540d\u3092\u4e00\u6642\u7684\u306b\u5909\u66f4<\/h5>\n<p>\u5c1a\u3001\u79fb\u884c\u5f8c\u306e\u30b5\u30fc\u30d0\u306a\u306e\u304b\u5206\u304b\u308a\u3084\u3059\u304f\u3059\u308b\u305f\u3081wp_options\u30c6\u30fc\u30d6\u30eb\u306eoption_name=blogname\u306eoption_value\u306b\u300c\uff08\u30b5\u30fc\u30d0\u79fb\u884c\u4e2d\uff09\u300d\u3068\u304b\u3092\u8ffd\u8a18\u3057\u3066\u304a\u304f\u3068WordPress\u306e\u30b5\u30a4\u30c8\u5074\u3084\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u5074\u3067\u305d\u306e\u65e8\u8868\u793a\u3055\u308c\u308b\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u3002<\/p>\n<h3>Let\u2019s Encrypt\u8a2d\u5b9a<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># epal\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u6709\u52b9\u5316\r\ndnf install -y epel-release\r\n\r\n# \u5ff5\u306e\u305f\u3081\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\r\ndnf update -y\r\n\r\n# Certbot\u672c\u4f53\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\ndnf install -y certbot\r\n\r\n# Let's Encrypt\u306e\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883\u3067\u30c6\u30b9\u30c8\r\ncertbot certonly --manual --preferred-challenges dns -d test.com --staging\r\n\r\n# \u4ee5\u4e0b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\r\nPlease deploy a DNS TXT record under the name:\r\n_acme-challenge.\u3010\u30c9\u30e1\u30a4\u30f3\u3011\r\nwith the following value:\r\n\u3010\u30ef\u30f3\u30bf\u30a4\u30e0\u30c8\u30fc\u30af\u30f3\u3011<\/pre>\n<p>DNS\u306b\u4ee5\u4e0b\u306e\u901a\u308a\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<ul>\n<li>\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3 -&gt; _acme-challenge<\/li>\n<li>\u7a2e\u5225 -&gt; TXT<\/li>\n<li>\u5185\u5bb9 -&gt; \u30ef\u30f3\u30bf\u30a4\u30e0\u30c8\u30fc\u30af\u30f3<\/li>\n<\/ul>\n<p>\u8a2d\u5b9a\u5f8c\u3001\u6570\u5206\uff5e\u6570\u5341\u5206\u307b\u3069\u3067\u53cd\u6620\u3055\u308c\u308b\u3002\u307e\u305f\u3001\u4ee5\u4e0b\u304b\u3089\u53cd\u6620\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">https:\/\/toolbox.googleapps.com\/apps\/dig\/#TXT\/_acme-challenge.\u3010\u30c9\u30e1\u30a4\u30f3\u3011<\/pre>\n<p>\u53cd\u6620\u3055\u308c\u305f\u3089SSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30bd\u30d5\u30c8\u5074\u3067\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3092\u62bc\u3059\u3002\u307e\u305f\u3001\u3053\u3053\u307e\u3067\u3067\u554f\u984c\u7121\u3044\u3088\u3046\u306a\u3089\u4ee5\u4e0b\u306e\u672c\u756a\u74b0\u5883\u7528\u30b3\u30de\u30f3\u30c9\u3067\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u554f\u984c\u7121\u3051\u308c\u3070\u672c\u756a\u74b0\u5883\u3067SSL\u8a3c\u660e\u66f8\u5c0e\u5165\r\ncertbot certonly --manual --preferred-challenges dns -d test.com<\/pre>\n<h3>Nginx\u8a2d\u5b9a<\/h3>\n<h4>\/etc\/nginx\/nginx.conf<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># For more information on configuration, see:\r\n#   * Official English Documentation: http:\/\/nginx.org\/en\/docs\/\r\n#   * Official Russian Documentation: http:\/\/nginx.org\/ru\/docs\/\r\n\r\nuser nginx;\r\nworker_processes auto;\r\nerror_log \/var\/log\/nginx\/error.log;\r\npid \/run\/nginx.pid;\r\n\r\n# Load dynamic modules. See \/usr\/share\/doc\/nginx\/README.dynamic.\r\ninclude \/usr\/share\/nginx\/modules\/*.conf;\r\n\r\nevents {\r\n    worker_connections 1024;\r\n    use epoll;\r\n}\r\n\r\nhttp {\r\n    log_format  main  '$remote_addr - $remote_user [$time_local] \"$request\" '\r\n                      '$status $body_bytes_sent \"$http_referer\" '\r\n                      '\"$http_user_agent\" \"$http_x_forwarded_for\"';\r\n\r\n    access_log  \/var\/log\/nginx\/access.log  main;\r\n\r\n    server_tokens off;\r\n\r\n    sendfile            on;\r\n    tcp_nopush          on;\r\n    tcp_nodelay         on;\r\n    types_hash_max_size 2048;\r\n\r\n    include             \/etc\/nginx\/mime.types;\r\n    default_type        application\/octet-stream;\r\n\r\n    # \u30aa\u30fc\u30d7\u30f3\u30d5\u30a1\u30a4\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\r\n    open_file_cache max=1000 inactive=20s;\r\n    open_file_cache_valid 30s;\r\n    open_file_cache_min_uses 2;\r\n    open_file_cache_errors on;\r\n\r\n    # gzip\u5727\u7e2e\u8a2d\u5b9a\r\n    gzip on;\r\n    gzip_vary on;\r\n    gzip_proxied any;\r\n    gzip_comp_level 4;\r\n    gzip_types text\/plain text\/css application\/json application\/javascript text\/xml application\/xml application\/xml+rss text\/javascript image\/svg+xml;\r\n    gzip_min_length 1024;\r\n\r\n    # \u30e1\u30e2\u30ea\u8a2d\u5b9a\r\n    client_body_buffer_size 16k;\r\n    client_header_buffer_size 1k;\r\n    large_client_header_buffers 4 8k;\r\n    output_buffers 1 32k;\r\n    postpone_output 1460;\r\n\r\n    # keepalive\u8a2d\u5b9a\r\n    keepalive_timeout 30s;\r\n    keepalive_requests 100;\r\n\r\n    # \u30ab\u30b9\u30bf\u30e0\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\r\n    include \/etc\/nginx\/conf.d\/*.conf;\r\n}\r\n<\/pre>\n<h4>\/etc\/nginx\/conf.d\/custom.conf<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># =========================================================\r\n# IP\u30a2\u30c9\u30ec\u30b9\u76f4\u63a5\u6307\u5b9a\u30fb\u672a\u5b9a\u7fa9\u30c9\u30e1\u30a4\u30f3\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62d2\u5426\r\n# =========================================================\r\nserver {\r\n    listen 80 default_server;\r\n    listen [::]:80 default_server;\r\n    listen 443 ssl default_server;\r\n    listen [::]:443 ssl default_server;\r\n    server_name _;\r\n\r\n    # SSL\u8a3c\u660e\u66f8\u306e\u8a2d\u5b9a\r\n    ssl_certificate     \/etc\/letsencrypt\/live\/test.com\/fullchain.pem;\r\n    ssl_certificate_key \/etc\/letsencrypt\/live\/test.com\/privkey.pem;\r\n\r\n    # \u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u4f55\u3082\u8fd4\u3055\u305a\u306b\u63a5\u7d9a\u3092\u62d2\u5426\r\n    return 444;\r\n}\r\n\r\n# =========================================================\r\n# HTTP -&gt; HTTPS\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\r\n# =========================================================\r\nserver {\r\n    listen 80;\r\n    listen [::]:80;\r\n    server_name test.com www.test.com;\r\n\r\n    # \u3059\u3079\u3066HTTPS\u3078301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\r\n    return 301 https:\/\/test.com$request_uri;\r\n}\r\n\r\n# =========================================================\r\n# www\u3042\u308a -&gt; www\u306a\u3057\u3078\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\r\n# =========================================================\r\nserver {\r\n    listen 443 ssl http2;\r\n    listen [::]:443 ssl http2;\r\n    server_name www.test.com;\r\n\r\n    # SSL\u8a3c\u660e\u66f8\u306e\u8a2d\u5b9a\r\n    ssl_certificate     \/etc\/letsencrypt\/live\/test.com\/fullchain.pem;\r\n    ssl_certificate_key \/etc\/letsencrypt\/live\/test.com\/privkey.pem;\r\n\r\n    # www\u306a\u3057\u3078301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\r\n    return 301 https:\/\/test.com$request_uri;\r\n}\r\n\r\n# =========================================================\r\n# \u30b3\u30f3\u30c6\u30ca\u3078\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\uff08\u30e1\u30a4\u30f3\u8a2d\u5b9a\uff09\r\n# =========================================================\r\nserver {\r\n\r\n    # -----------------------------------------------------\r\n    # \u5171\u901a\u8a2d\u5b9a\r\n    # -----------------------------------------------------\r\n    listen 443 ssl http2;\r\n    listen [::]:443 ssl http2;\r\n    server_name test.com;\r\n\r\n    # SSL\u8a3c\u660e\u66f8\u306e\u8a2d\u5b9a\r\n    ssl_certificate     \/etc\/letsencrypt\/live\/test.com\/fullchain.pem;\r\n    ssl_certificate_key \/etc\/letsencrypt\/live\/test.com\/privkey.pem;\r\n\r\n    # \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30d8\u30c3\u30c0\u30fc\u306e\u8a2d\u5b9a\r\n    add_header X-Frame-Options \"SAMEORIGIN\" always; \r\n    add_header X-Content-Type-Options \"nosniff\" always; \r\n    add_header X-XSS-Protection \"1; mode=block\" always; \r\n\r\n    # \u30d7\u30ed\u30ad\u30b7\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u8a2d\u5b9a\r\n    proxy_connect_timeout 60s;\r\n    proxy_send_timeout    60s;\r\n    proxy_read_timeout    60s;\r\n\r\n    # \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fbTLS\u8a2d\u5b9a\r\n    ssl_protocols TLSv1.2 TLSv1.3;\r\n    ssl_ciphers HIGH:!aNULL:!MD5;\r\n\r\n    # \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u6700\u5927\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30b5\u30a4\u30ba\r\n    client_max_body_size 20M;\r\n\r\n    # \u30ed\u30b0\u8a2d\u5b9a\r\n    access_log \/var\/log\/nginx\/test.com.access.log;\r\n    error_log  \/var\/log\/nginx\/test.com.error.log;\r\n\r\n    # \u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n    root \/var\/www\/html\/podman\/test.com\/public;\r\n    index index.php index.html;\r\n\r\n    # \u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3067\u306e\u5727\u7e2e\u3092\u7121\u52b9\u5316\r\n    proxy_set_header Accept-Encoding \"\";\r\n\r\n    # -----------------------------------------------------\r\n    # \u9759\u7684\u30d5\u30a1\u30a4\u30eb\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u8a2d\u5b9a\r\n    # -----------------------------------------------------\r\n    location ~* \\.(?:css|js|gif|png|jpe?g|pdf|swf|rss|atom|ico|woff2?|svg)$ {\r\n        access_log off;\r\n        log_not_found off;\r\n\r\n        add_header Cache-Control \"public, max-age=31536000, no-transform\" always;\r\n        add_header X-Frame-Options \"SAMEORIGIN\" always;\r\n        add_header X-Content-Type-Options \"nosniff\" always;\r\n        add_header X-XSS-Protection \"1; mode=block\" always;\r\n\r\n        # \u30db\u30b9\u30c8\u5074\u3092\u63a2\u3057\u3066\u7121\u3051\u308c\u3070\u4e0b\u306e@container\u30d6\u30ed\u30c3\u30af\u3078\r\n        try_files $uri @container;\r\n    }\r\n\r\n    location @container {\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n\r\n    # -----------------------------------------------------\r\n    # WordPress\r\n    # -----------------------------------------------------\r\n\r\n    # \u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9IP\u5236\u9650\u3092\u304b\u3051\u308b\u5834\u5408\r\n    location = \/wordpress\/wp-login.php {\r\n        # \u8a31\u53ef\u3059\u308bIP\r\n        allow xxx.xxx.xxx.xxx;\r\n        deny all;\r\n\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n\r\n    location \/wordpress\/ {\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n\r\n    # -----------------------------------------------------\r\n    # \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7cfb\r\n    # -----------------------------------------------------\r\n\r\n    # \u76f4\u30a2\u30af\u30bb\u30b9\u3092\u5ff5\u306e\u305f\u3081\u30d6\u30ed\u30c3\u30af\r\n    location ~ \/(^\\.git|static_config) {\r\n        deny all;\r\n    }\r\n\r\n    location ^~ \/vendor\/ {\r\n        deny all;\r\n    }\r\n\r\n    # basic\u8a8d\u8a3c\u3092\u304b\u3051\u308b\u5834\u5408\r\n    location ^~ \/basic_auth\/ {\r\n        auth_basic \"Restricted Area\";\r\n        auth_basic_user_file \/etc\/nginx\/.htpasswd;\r\n\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n\r\n    # -----------------------------------------------------\r\n    # \u4ed6\u306e\u3069\u308c\u306b\u3082\u5f53\u3066\u306f\u307e\u3089\u306a\u3044\u901a\u5e38\u30a2\u30af\u30bb\u30b9\r\n    # -----------------------------------------------------\r\n\r\n    # \u901a\u5e38\u306e\u30b3\u30f3\u30c6\u30ca\u3078\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a\r\n    location \/ {\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n}\r\n<\/pre>\n<h4>\u518d\u8d77\u52d5<\/h4>\n<p>\u4e0a\u8a182\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u5f8c\u3001\u518d\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">nginx -t\r\nsystemctl reload nginx<\/pre>\n<h3>Apache\u8a2d\u5b9a<\/h3>\n<h4>\/opt\/podman\/apache\/vhost.conf<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">LoadModule rewrite_module \/usr\/lib\/apache2\/modules\/mod_rewrite.so\r\nLoadModule expires_module \/usr\/lib\/apache2\/modules\/mod_expires.so\r\n\r\n&lt;VirtualHost *:80&gt;\r\n    ServerName test.com\r\n    ServerAlias www.test.com\r\n\r\n    DocumentRoot \/var\/www\/html\/test.com\/public\r\n\r\n    RemoteIPHeader X-Forwarded-For\r\n    RemoteIPInternalProxy 127.0.0.1 10.0.2.2 172.17.0.1 10.89.0.0\/16\r\n\r\n    &lt;Directory \/var\/www\/html\/test.com\/public&gt;\r\n        AllowOverride All\r\n        Require all granted\r\n    &lt;\/Directory&gt;\r\n\r\n    ErrorLog ${APACHE_LOG_DIR}\/error.log\r\n    CustomLog ${APACHE_LOG_DIR}\/access.log combined\r\n&lt;\/VirtualHost&gt;\r\n<\/pre>\n<h4>\u518d\u8d77\u52d5<\/h4>\n<p>\u4e0a\u8a18\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u5f8c\u3001Cockpit\u304b\u3089\u518d\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<h3>hosts\u8a2d\u5b9a<\/h3>\n<p>\u307e\u3060DNS\u306f\u5207\u308a\u66ff\u3048\u305a\u306b\u52d5\u4f5c\u78ba\u8a8d\u3059\u308b\u305f\u3081\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306ehosts\u30d5\u30a1\u30a4\u30eb\u3067\u4ee5\u4e0b\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">xxx.xxx.xxx.xxx test.com<\/pre>\n<p>\u3053\u306e\u6642\u70b9\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30c9\u30e1\u30a4\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u7b48\u3002\u305f\u3060\u3001WordPress\u306e\u30d5\u30ed\u30f3\u30c8\u5074\u306fDB\u63a5\u7d9a\u30a8\u30e9\u30fc\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u5074\u306f500\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3068\u601d\u308f\u308c\u308b\u306e\u3067\u4ee5\u4e0b\u306e\u901a\u308aWordPress\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n<h3>WordPress\u8a2d\u5b9a<\/h3>\n<h4>.htaccess<\/h4>\n<p>.htaccess\u5185\u306e\u8a2d\u5b9a\u306b\u3088\u308a500\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u3063\u305f\u4e0a\u3067\u3001\u4ee5\u4e0b\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u4e0a\u66f8\u304d\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># BEGIN WordPress\r\n# \"BEGIN WordPress\" \u304b\u3089 \"END WordPress\" \u307e\u3067\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6 (\u884c) \u306f\r\n# \u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u3001WordPress \u30d5\u30a3\u30eb\u30bf\u30fc\u306b\u3088\u3063\u3066\u306e\u307f\u4fee\u6b63\u304c\u53ef\u80fd\u3067\u3059\u3002\r\n# \u3053\u308c\u3089\u306e\u30de\u30fc\u30ab\u30fc\u9593\u306b\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3078\u306e\u3044\u304b\u306a\u308b\u5909\u66f4\u3082\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\r\nRewriteBase \/blog\/\r\nRewriteRule ^index\\.php$ - [L]\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule . \/blog\/index.php [L]\r\n&lt;\/IfModule&gt;\r\n\r\n# END WordPress\r\n<\/pre>\n<p>\u79c1\u306e\u74b0\u5883\u3060\u3068Really Simple Security\u3067.htaccess\u3092\u66f8\u304d\u63db\u3048\u3066\u304a\u308a500\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u305f\u3063\u307d\u3044\u3002<\/p>\n<p>\u5c1a\u3001Really Simple Security\u3067\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8URL\u3092\u5909\u66f4\u3057\u3066\u3044\u305f\u3088\u3046\u306a\u5834\u5408\u3001\u4e0a\u8a18\u30c7\u30d5\u30a9\u30eb\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u4e0a\u66f8\u304d\u3059\u308b\u3068\u5143\u306eURL\u306b\u623b\u308b\u304c\u3001\u305d\u306e\u8fba\u308a\u306e\u5236\u5fa1\u3084\u8a2d\u5b9a\u304c\u96e3\u3057\u305d\u3046\u306a\u306e\u3067<a href=\"https:\/\/taitan916.info\/blog\/archives\/7685\" target=\"_blank\" rel=\"noopener\">Nginx\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b9IP\u5236\u9650<\/a>\u306e\u5c0e\u5165\u3092\u691c\u8a0e\u3059\u308b\u3002<\/p>\n<h4>wp-config.php<\/h4>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u60c5\u5831\u306e\u5909\u66f4\u3068\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3057\u3066\u4e0a\u66f8\u304d\u3002\u63a5\u7d9a\u60c5\u5831\u306fDB_HOST\u304c\u30b3\u30f3\u30c6\u30ca\u540d\u306b\u306a\u308b\u70b9\u306b\u6ce8\u610f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u7d4c\u7531\u304b\u3064HTTPS\u63a5\u7d9a\u306e\u5834\u5408\u306fPHP\u306e\u74b0\u5883\u5909\u6570\u3092\u66f8\u304d\u63db\u3048\r\nif (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &amp;&amp; $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {\r\n    $_SERVER['HTTPS'] = 'on';\r\n}\r\n\r\n# Web\u30b5\u30fc\u30d0\u6a29\u9650\u3067\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u63db\u3048\r\ndefine('FS_METHOD', 'direct');\r\n\r\n# \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u969b\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\r\ndefine('FS_CHMOD_DIR', 0775);\r\ndefine('FS_CHMOD_FILE', 0664);\r\n\r\n# \u65b0\u898f\u4f5c\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\r\numask(0002);<\/pre>\n<h4>\u30ad\u30e3\u30c3\u30b7\u30e5\u8a2d\u5b9a<\/h4>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener\">W3 Total Cache<\/a>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5f62\u5f0f\u3067\u8ffd\u52a0\u3057\u4ee5\u4e0b\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n<ul>\n<li>\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5 -&gt; \u30c7\u30a3\u30b9\u30af<\/li>\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30ad\u30e3\u30c3\u30b7\u30e5 -&gt; \u306a\u3057<\/li>\n<li>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30ad\u30e3\u30c3\u30b7\u30e5 -&gt; apcu<\/li>\n<\/ul>\n<h3>\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>\u30b5\u30a4\u30c8\u5074\u3068\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u5074\u3067\u5404\u7a2e\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3046\u3002<\/p>\n<p>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u5074\u3067All in One SEO\u306e\u300c\u8a18\u4e8b\u4e00\u89a7\u306eAIOSEO \u8a73\u7d30\u300d\u300c\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9TOP\u306eAIOSEO Checklist\u3084AIOSEO \u6982\u8981\u300d\u7b49\u306f\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u6a5f\u80fd\u306eAdGuard\u3067\u30d6\u30ed\u30c3\u30af\u3055\u308c\u3001\u305a\u3063\u3068\u8aad\u307f\u8fbc\u307f\u4e2d\u3068\u306a\u3063\u3066\u3044\u305f\u3002\u3053\u3061\u3089\u306f\u62e1\u5f35\u6a5f\u80fd\u3092OFF\u306b\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u3067\u554f\u984c\u7121\u3044\u3088\u3046\u306a\u3089\u30c9\u30e1\u30a4\u30f3\u306eDNS\u3092\u5207\u308a\u66ff\u3048\u3066\u826f\u3044\u7b48\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u305d\u306e\u4ed6<\/h2>\n<h3>Let's Encrypt\u306e\u81ea\u52d5\u66f4\u65b0<\/h3>\n<p>DNS\u8a8d\u8a3c\u3067SSL\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u306e\u3067\u6050\u3089\u304f<a href=\"https:\/\/taitan916.info\/blog\/archives\/6117\" target=\"_blank\" rel=\"noopener\">\u904e\u53bb\u8a18\u4e8b<\/a>\u306e\u3088\u3046\u306b\u81ea\u52d5\u66f4\u65b0\u6642\u306b\u30a8\u30e9\u30fc\u304c\u8d77\u3053\u308b\u7b48\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002\u307e\u305f\u3001\u4eca\u56de\u306f\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092HTTP\u8a8d\u8a3c\u3067\u53d6\u308a\u305f\u3044\u305f\u3081\u30e1\u30a4\u30f3\u30c9\u30e1\u30a4\u30f3\u3068\u3042\u308f\u305b\u3066\u518d\u53d6\u5f97\u3059\u308b\u3002<\/p>\n<p>\u307e\u305a\u306fHTTP\u8a8d\u8a3c\u3067\u304d\u308b\u3088\u3046\u306bNginx \/ Apache\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n<h4>Nginx\u8a2d\u5b9a\uff08\/etc\/nginx\/conf.d\/costom.conf\uff09<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">server {\r\n    server_name sub.test.com;\r\n\r\n    # \u30ed\u30b0\u8a2d\u5b9a\r\n    access_log \/var\/log\/nginx\/sub.test.com.access.log;\r\n    error_log  \/var\/log\/nginx\/sub.test.com.error.log;\r\n\r\n    # \u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n    root \/var\/www\/html\/podman\/sub.test.com\/public;\r\n    index index.php index.html;\r\n\r\n    # \u30b3\u30f3\u30c6\u30ca\u3078\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a\r\n    location \/ {\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n}<\/pre>\n<h4>Apache\u8a2d\u5b9a\uff08\/opt\/podman\/apache\/vhost.conf\uff09<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;VirtualHost *:80&gt;\r\n    ServerName sub.test.com\r\n\r\n    DocumentRoot \/var\/www\/html\/sub.test.com\/public\r\n\r\n    RemoteIPHeader X-Forwarded-For\r\n    RemoteIPInternalProxy 127.0.0.1 10.0.2.2 172.17.0.1 10.89.0.0\/16\r\n\r\n    &lt;Directory \/var\/www\/html\/sub.test.com\/public&gt;\r\n        AllowOverride All\r\n        Require all granted\r\n    &lt;\/Directory&gt;\r\n\r\n    ErrorLog ${APACHE_LOG_DIR}\/error.log\r\n    CustomLog ${APACHE_LOG_DIR}\/access.log combined\r\n&lt;\/VirtualHost&gt;<\/pre>\n<h4>HTTP\u8a8d\u8a3c\u3067\u8a3c\u660e\u66f8\u518d\u53d6\u5f97\u3068\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Nginx\u7528\u306eCerbot\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\ndnf install python3-certbot-nginx\r\n\r\n# \u8a3c\u660e\u66f8\u306e\u53d6\u5f97\u30c6\u30b9\u30c8\r\ncertbot certonly --nginx -d test.com -d sub.test.com --dry-run\r\n\r\n# \u30c6\u30b9\u30c8\u3067\u554f\u984c\u7121\u3051\u308c\u3070Nginx\u30d7\u30e9\u30b0\u30a4\u30f3\u7d4c\u7531\u3067\u8a3c\u660e\u66f8\u3092\u518d\u53d6\u5f97\u3068Nginx\u81ea\u52d5\u518d\u8d77\u52d5\u8a2d\u5b9a\r\ncertbot certonly --nginx -d test.com -d sub.test.com --deploy-hook \"systemctl reload nginx\" --force-renewal\r\n\r\n# \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u30d5\u30c3\u30af\uff08renew_hook = systemctl reload nginx\uff09\u304c\u6b63\u3057\u304f\u66f8\u304d\u8fbc\u307e\u308c\u305f\u304b\u78ba\u8a8d\r\ncat \/etc\/letsencrypt\/renewal\/test.com.conf\r\n\r\n# \u81ea\u52d5\u66f4\u65b0\u306e\u30c6\u30b9\u30c8\r\ncertbot renew --dry-run --deploy-hook \"systemctl reload nginx\"\r\n\r\n# certbot\u306e\u5168\u4f53\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\r\nvi \/etc\/letsencrypt\/cli.ini<\/pre>\n<p>\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u8a2d\u5b9a\r\nemail = test@test.com\r\n\r\n# \u81ea\u52d5\u5316\u7528\u306e\u8a2d\u5b9a\uff08\u898f\u7d04\u540c\u610f\u3092\u81ea\u52d5\u5316\uff09\r\nagree-tos = true\r\n\r\n# \u5168\u30c9\u30e1\u30a4\u30f3\u5171\u901a\u306e\u66f4\u65b0\u5f8c\u30d5\u30c3\u30af\uff08Nginx\u81ea\u52d5\u30ea\u30ed\u30fc\u30c9\uff09\r\ndeploy-hook = systemctl reload nginx\r\n\r\n# \u6697\u53f7\u9375\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\r\nkey-type = ecdsa<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u5f8c\u3001\u4ee5\u4e0b\u3067\u6700\u7d42\u78ba\u8a8d\u3092\u884c\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Nginx\u306e\u518d\u8d77\u52d5\u3082\u542b\u3081\u3066\u81ea\u52d5\u66f4\u65b0\u6642\u306e\u4e00\u9023\u306e\u6d41\u308c\u304c\u30a8\u30e9\u30fc\u306a\u304f\u901a\u308b\u304b\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\r\ncertbot renew --dry-run --deploy-hook \"systemctl reload nginx\" --run-deploy-hooks\r\n\r\n# \u81ea\u52d5\u66f4\u65b0\u30bf\u30a4\u30de\u30fc\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u304b\u78ba\u8a8d\r\nsystemctl status certbot-renew.timer<\/pre>\n<p>\u3044\u305a\u308c\u3082\u554f\u984c\u7121\u304b\u3063\u305f\u5834\u5408\u3001Nginx\u5074\u3067https\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u4ee5\u4e0b\u5909\u66f4\u30fb\u8ffd\u8a18\u3092\u884c\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u7528\u30d6\u30ed\u30c3\u30af\u3092\u5909\u66f4\r\nserver {\r\n    listen 80;\r\n    listen [::]:80;\r\n    server_name test.com www.test.com sub.test.com;\r\n\r\n    # \u3059\u3079\u3066HTTPS\u3078301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\r\n    return 301 https:\/\/$host$request_uri;\r\n}\r\n\r\n# \u4ee5\u4e0b\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u8a18\r\nserver {\r\n    listen 443 ssl http2;\r\n    listen [::]:443 ssl http2;\r\n    server_name sub.test.com;\r\n\r\n    # \u30ed\u30b0\u8a2d\u5b9a\r\n    access_log \/var\/log\/nginx\/sub.test.com.access.log;\r\n    error_log  \/var\/log\/nginx\/sub.test.com.error.log;\r\n\r\n    # \u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n    root \/var\/www\/html\/podman\/sub.test.com\/public;\r\n    index index.php index.html;\r\n\r\n    # SSL\u8a3c\u660e\u66f8\u306e\u8a2d\u5b9a\r\n    ssl_certificate      \/etc\/letsencrypt\/live\/test.com\/fullchain.pem;\r\n    ssl_certificate_key  \/etc\/letsencrypt\/live\/test.com\/privkey.pem;\r\n    include              \/etc\/letsencrypt\/options-ssl-nginx.conf;\r\n    ssl_dhparam          \/etc\/letsencrypt\/ssl-dhparams.pem;\r\n\r\n    # \u901a\u5e38\u306e\u30b3\u30f3\u30c6\u30ca\u3078\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a\r\n    location \/ {\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n}<\/pre>\n<h4>\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306f\u53d6\u5f97\u305b\u305a\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u306e\u307f\u884c\u3044\u305f\u3044\u5834\u5408<\/h4>\n<p>\u4ee5\u4e0b\u3067\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a\u3092\u884c\u3044\u3001\u5404\u7a2e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">certbot renew --nginx --deploy-hook \"systemctl reload nginx\" --force-renewal<\/pre>\n<h4>\u65b0\u305f\u306bSSL\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408<\/h4>\n<p>\u5225\u30c9\u30e1\u30a4\u30f3\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u300c\/etc\/letsencrypt\/cli.ini\u300d\u306e\u8a2d\u5b9a\u304c\u52b9\u304f\u306f\u305a\u3060\u3051\u3069\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092\u5897\u3084\u3057\u3066\u5c1a\u4e14\u3064\u30e1\u30a4\u30f3\u30c9\u30e1\u30a4\u30f3\u3082\u53d6\u308a\u76f4\u3059\u5834\u5408\u306f\u5ff5\u306e\u305f\u3081\u30d5\u30c3\u30af\u3092\u6307\u5b9a\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u5225\u30c9\u30e1\u30a4\u30f3\u3092\u53d6\u5f97\u6642\r\ncertbot certonly --nginx -d newdomain.com\r\n\r\n# \u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092\u5897\u3084\u3059\u5834\u5408\uff08\u4ed6\u3082\u307e\u3068\u3081\u3066\u53d6\u5f97\u3059\u308b\u5834\u5408\uff09\r\ncertbot certonly --nginx -d test.com -d sub.test.com -d sub2.test.com --deploy-hook \"systemctl reload nginx\" --force-renewal<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u6240\u611f<\/h2>\n<p>\u4eca\u56de\u306fNginx\u5074\u306e\u8a2d\u5b9a\u3067\u8272\u3005\u96e3\u5100\u3057\u305f\u3002\u308f\u304b\u308b\u7bc4\u56f2\u3067\u8a2d\u5b9a\u3057\u3066\u307f\u305f\u3082\u306e\u306e\u5168\u4f53\u7684\u306b\u6b63\u3057\u3044\u8a2d\u5b9a\u306a\u306e\u304b\u5206\u304b\u3089\u305a\u3061\u3087\u3063\u3068\u4e0d\u5b89\u306a\u3068\u3053\u308d\u3002<\/p>\n<p>\u4f55\u304b\u3042\u3063\u305f\u969b\u3001\u5143\u306b\u623b\u305b\u308b\u3088\u3046\u306b\u65e7\u30b5\u30fc\u30d0\u306f\u3057\u3070\u3089\u304f\u7f6e\u3044\u3066\u304a\u3053\u3046\u3068\u601d\u3046\u3002\u5c1a\u3001Indigo\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u524a\u9664\u3057\u3066\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3060\u3051\u6b8b\u305d\u3046\u304b\u3068\u8003\u3048\u305f\u304c<a href=\"https:\/\/help.arena.ne.jp\/hc\/ja\/articles\/360038700554-%E3%82%A4%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%B3%E3%82%B9%E3%82%92%E5%BB%83%E6%A3%84%E3%81%99%E3%82%8B%E3%81%A8%E3%82%B9%E3%83%8A%E3%83%83%E3%83%97%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%E3%82%82%E5%BB%83%E6%A3%84%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%81%8B-%E3%81%BE%E3%81%9F-%E5%90%8C%E3%81%98IP%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%82%92%E5%88%A9%E7%94%A8%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%81%8B-Indigo\" target=\"_blank\" rel=\"noopener\">\u305d\u308c\u306f\u7121\u7406<\/a>\u307f\u305f\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b ... <\/p>\n","protected":false},"author":1,"featured_media":7335,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[24,7,41,120],"tags":[99],"class_list":["post-7671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-server","category-cms","category-podman","tag-lets-encrypt"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"taitan\"\/>\n\t<meta name=\"keywords\" content=\"let\u2019s encrypt\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/taitan916.info\/blog\/archives\/7671\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:description\" content=\"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/taitan916.info\/blog\/archives\/7671\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t\t<meta property=\"og:image:height\" content=\"2000\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-16T15:57:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-22T07:57:19+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta name=\"twitter:description\" content=\"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#article\",\"name\":\"AlmaLinux9 \\\/ Podman\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306bWordPress\\u3092\\u79fb\\u884c\\u3059\\u308b\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"headline\":\"AlmaLinux9 \\\/ Podman\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306bWordPress\\u3092\\u79fb\\u884c\\u3059\\u308b\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/wp.png\",\"width\":2000,\"height\":2000},\"datePublished\":\"2026-10-17T00:57:37+09:00\",\"dateModified\":\"2026-09-22T16:57:19+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#webpage\"},\"articleSection\":\"WordPress, \\u30b5\\u30fc\\u30d0\\u30fc, CMS, Podman, Let\\u2019s Encrypt\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms#listItem\",\"name\":\"CMS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms#listItem\",\"position\":2,\"name\":\"CMS\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress#listItem\",\"name\":\"WordPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress#listItem\",\"position\":3,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#listItem\",\"name\":\"AlmaLinux9 \\\/ Podman\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306bWordPress\\u3092\\u79fb\\u884c\\u3059\\u308b\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms#listItem\",\"name\":\"CMS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#listItem\",\"position\":4,\"name\":\"AlmaLinux9 \\\/ Podman\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306bWordPress\\u3092\\u79fb\\u884c\\u3059\\u308b\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress#listItem\",\"name\":\"WordPress\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\",\"name\":\"taitan\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916\",\"name\":\"taitan\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#webpage\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671\",\"name\":\"AlmaLinux9 \\\/ Podman\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306bWordPress\\u3092\\u79fb\\u884c\\u3059\\u308b\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"AlmaLinux9\\u7cfb\\u306b\\u30db\\u30b9\\u30c8\\u5074Nginx\\u3068Podman\\u30b3\\u30f3\\u30c6\\u30ca\\u3092\\u69cb\\u7bc9\\u3057\\u305f\\u74b0\\u5883\\u306b\\u3001AlamLinux8\\u7cfb\\u306eLAMP\\u74b0\\u5883\\u3067\\u904b\\u7528\\u4e2d\\u306eWordPress\\u3092\\u79fb\\u884c\\u3057\\u305f\\u3044\\u3002WordPress\\u306e\\u30c1\\u30e5\\u30fc\\u30cb\\u30f3\\u30b0\\u3084Let\\u2019s Encrypt\\u306eDNS\\u8a8d\\u8a3c\\u306b\\u3088\\u308bSSL\\u8a3c\\u660e\\u66f8\\u53d6\\u5f97\\u3082\\u884c\\u3044\\u305f\\u3044\\u3002\\u4ee5\\u4e0b\\u306b\\u5bfe\\u5fdc\\u65b9\\u6cd5\\u3092\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/wp.png\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671\\\/#mainImage\",\"width\":2000,\"height\":2000},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7671#mainImage\"},\"datePublished\":\"2026-10-17T00:57:37+09:00\",\"dateModified\":\"2026-09-22T16:57:19+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/\",\"name\":\"\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"Web\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2 \\\/ \\u30d7\\u30ed\\u30b0\\u30e9\\u30de\\u304c\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","canonical_url":"https:\/\/taitan916.info\/blog\/archives\/7671","robots":"max-image-preview:large","keywords":"let\u2019s encrypt","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/taitan916.info\/blog\/archives\/7671#article","name":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","headline":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5","author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png","width":2000,"height":2000},"datePublished":"2026-10-17T00:57:37+09:00","dateModified":"2026-09-22T16:57:19+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7671#webpage"},"isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7671#webpage"},"articleSection":"WordPress, \u30b5\u30fc\u30d0\u30fc, CMS, Podman, Let\u2019s Encrypt"},{"@type":"BreadcrumbList","@id":"https:\/\/taitan916.info\/blog\/archives\/7671#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/taitan916.info\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms#listItem","name":"CMS"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms#listItem","position":2,"name":"CMS","item":"https:\/\/taitan916.info\/blog\/archives\/category\/cms","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress#listItem","name":"WordPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress#listItem","position":3,"name":"WordPress","item":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/7671#listItem","name":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms#listItem","name":"CMS"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/7671#listItem","position":4,"name":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress#listItem","name":"WordPress"}}]},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/#person","name":"taitan"},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author","url":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916","name":"taitan"},{"@type":"WebPage","@id":"https:\/\/taitan916.info\/blog\/archives\/7671#webpage","url":"https:\/\/taitan916.info\/blog\/archives\/7671","name":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7671#breadcrumblist"},"author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"creator":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png","@id":"https:\/\/taitan916.info\/blog\/archives\/7671\/#mainImage","width":2000,"height":2000},"primaryImageOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7671#mainImage"},"datePublished":"2026-10-17T00:57:37+09:00","dateModified":"2026-09-22T16:57:19+09:00"},{"@type":"WebSite","@id":"https:\/\/taitan916.info\/blog\/#website","url":"https:\/\/taitan916.info\/blog\/","name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Web\u30a8\u30f3\u30b8\u30cb\u30a2 \/ \u30d7\u30ed\u30b0\u30e9\u30de\u304c\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","inLanguage":"ja","publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"}}]},"og:locale":"ja_JP","og:site_name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:type":"article","og:title":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:description":"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","og:url":"https:\/\/taitan916.info\/blog\/archives\/7671","og:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png","og:image:secure_url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png","og:image:width":2000,"og:image:height":2000,"article:published_time":"2026-10-16T15:57:37+00:00","article:modified_time":"2026-09-22T07:57:19+00:00","twitter:card":"summary","twitter:title":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","twitter:description":"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","twitter:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/wp.png"},"aioseo_meta_data":{"post_id":"7671","title":null,"description":"AlmaLinux9\u7cfb\u306b\u30db\u30b9\u30c8\u5074Nginx\u3068Podman\u30b3\u30f3\u30c6\u30ca\u3092\u69cb\u7bc9\u3057\u305f\u74b0\u5883\u306b\u3001AlamLinux8\u7cfb\u306eLAMP\u74b0\u5883\u3067\u904b\u7528\u4e2d\u306eWordPress\u3092\u79fb\u884c\u3057\u305f\u3044\u3002WordPress\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3084Let\u2019s Encrypt\u306eDNS\u8a8d\u8a3c\u306b\u3088\u308bSSL\u8a3c\u660e\u66f8\u53d6\u5f97\u3082\u884c\u3044\u305f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-09-06 08:57:37","updated":"2026-10-17 04:41:16","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/cms\" title=\"CMS\">CMS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress\" title=\"WordPress\">WordPress<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/taitan916.info\/blog\/"},{"label":"CMS","link":"https:\/\/taitan916.info\/blog\/archives\/category\/cms"},{"label":"WordPress","link":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress"},{"label":"AlmaLinux9 \/ Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306bWordPress\u3092\u79fb\u884c\u3059\u308b\u65b9\u6cd5","link":"https:\/\/taitan916.info\/blog\/archives\/7671"}],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/7671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=7671"}],"version-history":[{"count":5,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/7671\/revisions"}],"predecessor-version":[{"id":7901,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/7671\/revisions\/7901"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/7335"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=7671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=7671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=7671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}