{"id":7602,"date":"2026-10-04T00:27:28","date_gmt":"2026-10-03T15:27:28","guid":{"rendered":"https:\/\/taitan916.info\/blog\/?p=7602"},"modified":"2026-09-22T16:58:01","modified_gmt":"2026-09-22T07:58:01","slug":"post-7602","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/7602","title":{"rendered":"\u30db\u30b9\u30c8\u5074Nginx &#038; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020<\/h2>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3057\u305f\u3044\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/var\/www\/html\/podman\/  # \u30b3\u30f3\u30c6\u30ca\u5074\u304b\u3089\u30de\u30a6\u30f3\u30c8\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n\u251c\u2500\u2500 sub.test.com          # \u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\r\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 public              # \u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306e\u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n\u2514\u2500\u2500 test.com                # \u30e1\u30a4\u30f3\u30c9\u30e1\u30a4\u30f3\r\n    \u251c\u2500\u2500 public               # \u30e1\u30a4\u30f3\u30c9\u30e1\u30a4\u30f3\u306e\u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n    \u2502\u00a0\u00a0 \u2514\u2500\u2500 wordpress    # wordpress\r\n    \u2514\u2500\u2500 vendor              # composer\u95a2\u9023\r\n        \u2514\u2500\u2500 composer<\/pre>\n<p>public\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092Web\u516c\u958b\u7528\u3068\u3057\u3001vendor\u7b49composer\u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u898b\u3048\u306a\u3044\u5f62\u3002<\/p>\n<p>\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u30fb\u5225\u30c9\u30e1\u30a4\u30f3\u304c\u5897\u3048\u305f\u5834\u5408\u306f\/var\/www\/html\/podman\u4ee5\u4e0b\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b\u60f3\u5b9a\u3002\u307e\u305f\u3001\u30db\u30b9\u30c8\u5074\u3067\u4f55\u3089\u304b\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u666e\u901a\u306b\u300c\/var\/www\/html\u300d\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>\u5c1a\u3001docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u524d\u8ff0\u306e\u901a\u308a\u300c\/opt\/podman\u300d\u306b\u307e\u3068\u3081\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n<h3>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210\u3068\u6a29\u9650\u8a2d\u5b9a<\/h3>\n<p>\u524d\u8ff0\u306e\u901a\u308a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u516c\u958b\u7528\u30d5\u30a1\u30a4\u30eb\u306fpublic\u5185\u306b\u8a2d\u7f6e\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u307e\u305f\u3001\u4ee5\u4e0b\u3067\u6a29\u9650\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3002\u6a29\u9650\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f<a href=\"https:\/\/taitan916.info\/blog\/archives\/7493#i-6\" target=\"_blank\" rel=\"noopener\">\u904e\u53bb\u8a18\u4e8b<\/a>\u53c2\u7167\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u30b3\u30f3\u30c6\u30ca\u5074\u306e\u6240\u6709\u8005\u30fb\u30b0\u30eb\u30fc\u30d7\u3092\u8a2d\u5b9a\r\nchown -R ftp_user:33 \/var\/www\/html\/podman\r\n\r\n# \u6240\u6709\u8005\u30fb\u30b0\u30eb\u30fc\u30d7\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\r\nfind \/var\/www\/html\/podman -type d -exec chmod 775 {} +\r\nfind \/var\/www\/html\/podman -type f -exec chmod 664 {} +\r\n\r\n# \u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u30fb\u30d5\u30a9\u30eb\u30c0\u4f5c\u6210\u6642\u306b\u30b0\u30eb\u30fc\u30d7\u6a29\u9650\u3092\u5f15\u304d\u7d99\u3050\uff08SGID\uff09\u8a2d\u5b9a\r\nfind \/var\/www\/html\/podman -type d -exec chmod g+s {} +<\/pre>\n<h3>Nginx\u8a2d\u5b9a\uff08\/etc\/nginx\/conf.d\/custom.conf\uff09<\/h3>\n<p>\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u5074\u306fSSL\u672a\u5c0e\u5165\u306e\u60f3\u5b9a\u3002Let's Encrypt\u3067\u8ffd\u52a0\u5c0e\u5165\u3059\u308c\u3070custom.conf\u306b\u3082\u81ea\u52d5\u3067\u8ffd\u8a18\u3057\u3066\u304f\u308c\u308b\u3002<\/p>\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# =========================================================\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# 3. 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\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    # -----------------------------------------------------\r\n    # WordPress\r\n    # -----------------------------------------------------\r\n\r\n    # \u512a\u5148\u524d\u65b9\u4e00\u81f4\u6307\u5b9a\r\n    location ^~ \/wordpress\/ {\r\n        auth_basic \"Input your ID and Password.\";\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    # -----------------------------------------------------\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 ~ \/(vendor|static_config|\\.git) {\r\n        deny all;\r\n    }\r\n\r\n    # Basic\u8a8d\u8a3c\r\n    location \/basic_auth\/ {\r\n        auth_basic \"Input your ID and Password.\";\r\n        auth_basic_user_file \/etc\/nginx\/.htpasswd;\r\n\r\n        # \u8a8d\u8a3c\u6210\u529f\u5f8c\u306b\u30b3\u30f3\u30c6\u30ca\u3078\u8ee2\u9001\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    # -----------------------------------------------------\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\r\n# =========================================================\r\n# \u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\r\n# =========================================================\r\nserver {\r\n\r\n    # -----------------------------------------------------\r\n    # \u5171\u901a\u8a2d\u5b9a\r\n    # -----------------------------------------------------\r\n\r\n    listen 80;\r\n    listen [::]:80;\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;\u00a0\r\n    index index.php index.html;\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<p>\u4ee5\u4e0b\u3067\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u3068\u518d\u8d77\u52d5\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">nginx -t\r\nsystemctl reload nginx<\/pre>\n<h3>\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u8a2d\u5b9a\uff08\/opt\/podman\/apache\/vhost.conf\uff09<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">LoadModule rewrite_module \/usr\/lib\/apache2\/modules\/mod_rewrite.so\r\n\r\n&lt;VirtualHost *:80&gt;\r\n    ServerName test.site\r\n    ServerAlias www.test.site\r\n\r\n    DocumentRoot \/var\/www\/html\/test.site\/public\r\n\r\n    &lt;Directory \/var\/www\/html\/test.site\/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\r\n&lt;VirtualHost *:80&gt;\r\n    ServerName mail.test.site\r\n    ServerAlias www.mail.test.site\r\n\r\n    DocumentRoot \/var\/www\/html\/mail.test.site\/public\r\n\r\n    &lt;Directory \/var\/www\/html\/mail.test.site\/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<h3>Docker Compose\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08\/opt\/podman\/docker-compose.yml\uff09<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">services:\r\n\r\n    # Web\u30b3\u30f3\u30c6\u30ca\u7528\u8a2d\u5b9a\r\n    web:\r\n        # \u30b3\u30f3\u30c6\u30ca\u540d\r\n        container_name: web-container\r\n\r\n        # \u4f7f\u7528\u3059\u308b\u30a4\u30e1\u30fc\u30b8\r\n        image: web-server:latest\r\n\r\n        # \u30db\u30b9\u30c8\u518d\u8d77\u52d5\u6642\u306b\u30b3\u30f3\u30c6\u30ca\u3092\u81ea\u52d5\u8d77\u52d5\r\n        restart: always\r\n\r\n        # \u30dd\u30fc\u30c8\u30de\u30c3\u30d4\u30f3\u30b0\r\n        ports:\r\n            - \"8080:80\"\r\n\r\n        # \u30dc\u30ea\u30e5\u30fc\u30e0\u8a2d\u5b9a\r\n        volumes:\r\n            # \u30de\u30a6\u30f3\u30c8\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\r\n            - \/var\/www\/html\/podman:\/var\/www\/html:Z\r\n            # PHP\u3068Apache\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\r\n            - \/opt\/podman\/php\/custom-php.ini:\/usr\/local\/etc\/php\/conf.d\/custom-php.ini:ro\r\n            - \/opt\/podman\/apache\/mpm_prefork.conf:\/etc\/apache2\/mods-available\/mpm_prefork.conf:ro\r\n            - \/opt\/podman\/apache\/vhost.conf:\/etc\/apache2\/sites-available\/000-default.conf:ro\r\n\r\n        # \u74b0\u5883\u5909\u6570\r\n        environment:\r\n            # \u30bf\u30a4\u30e0\u30be\u30fc\u30f3\r\n            TZ: \"Asia\/Tokyo\"\r\n\r\n        # \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\r\n        networks:\r\n            web-db-net:\r\n                # IP\u30a2\u30c9\u30ec\u30b9\u56fa\u5b9a\r\n                ipv4_address: 10.89.10.2\r\n            web-mailpit-net:\r\n\r\n        # \u30b3\u30f3\u30c6\u30ca\u914d\u7f6e\u6642\u306e\u30ea\u30bd\u30fc\u30b9\u8a2d\u5b9a\r\n        deploy:\r\n            resources:\r\n                limits:\r\n                    # \u5272\u308a\u5f53\u3066\u30e1\u30e2\u30ea\r\n                    memory: 384M\r\n\r\n        # \u30b3\u30f3\u30c6\u30ca\u8d77\u52d5\u9806\u5e8f\u8a2d\u5b9a\uff08db\u8d77\u52d5\u5f8c\u306bweb\u30b3\u30f3\u30c6\u30ca\u8d77\u52d5\uff09\r\n        depends_on:\r\n          - db\r\n\r\n    # DB\u30b3\u30f3\u30c6\u30ca\u7528\u8a2d\u5b9a\r\n    db:\r\n        container_name: db-container\r\n        image: mariadb:11.4\r\n        restart: always\r\n        volumes:\r\n            # \u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u30de\u30a6\u30f3\u30c8\r\n            - \/opt\/podman\/mariadb\/data:\/var\/lib\/mysql:Z\r\n            # \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\r\n            - \/opt\/podman\/mariadb\/custom-mariadb.cnf:\/etc\/mysql\/conf.d\/custom-mariadb.cnf:ro\r\n        environment:\r\n            TZ: \"Asia\/Tokyo\"\r\n            # \u5404\u7a2eDB\u63a5\u7d9a\u7528\u30a2\u30ab\u30a6\u30f3\u30c8\u60c5\u5831\r\n            MARIADB_ROOT_PASSWORD: xxxxxxx\r\n            MARIADB_DATABASE: xxxxxxx\r\n            MARIADB_USER: xxxxxxx\r\n            MARIADB_PASSWORD: xxxxxxx\r\n        networks:\r\n            web-db-net:\r\n                ipv4_address: 10.89.10.5\r\n        deploy:\r\n            resources:\r\n                limits:\r\n                    memory: 256M\r\n\r\n    # Mailpit\u30b3\u30f3\u30c6\u30ca\u7528\u8a2d\u5b9a\r\n    mailpit:\r\n        container_name: mailpit-container\r\n        image: axllent\/mailpit:latest\r\n        # PHP\u3067\u6307\u5b9a\u3059\u308b\u30dd\u30fc\u30c8\u306f1025\r\n        # \u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u30dd\u30fc\u30c8\u306f19980\r\n        ports:\r\n            - \"19925:1025\"\r\n            - \"19980:8025\"\r\n        volumes:\r\n            - \/opt\/podman\/mailpit:\/data:Z\r\n            # Basic\u8a8d\u8a3c\u7528\r\n            - \/opt\/podman\/mailpit\/.htpasswd:\/data\/.htpasswd:ro\r\n        environment:\r\n            TZ: Asia\/Tokyo\r\n            MP_MAX_MESSAGES: 1000\r\n            MP_DATABASE: \/data\/mailpit.db\r\n            MP_SMTP_AUTH_ACCEPT_ANY: 1\r\n            MP_SMTP_AUTH_ALLOW_INSECURE: 1\r\n            MP_UI_AUTH_FILE: \/data\/.htpasswd\r\n        networks:\r\n            web-mailpit-net:\r\n                ipv4_address: 10.89.20.5\r\n        deploy:\r\n            resources:\r\n                limits:\r\n                    memory: 32M\r\n\r\n# \u30dc\u30ea\u30e5\u30fc\u30e0\u8a2d\u5b9a\r\nvolumes:\r\n    mail-data:\r\n        external: true\r\n\r\n# \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\r\nnetworks:\r\n    web-db-net:\r\n        driver: bridge\r\n        ipam:\r\n          config:\r\n            - subnet: 10.89.10.0\/24\r\n    web-mailpit-net:\r\n        driver: bridge\r\n        ipam:\r\n          config:\r\n            - subnet: 10.89.20.0\/24\r\n<\/pre>\n<p>\u4ee5\u4e0b\u3067\u69cb\u6587\u30c1\u30a7\u30c3\u30af -&gt; \u30b3\u30f3\u30c6\u30ca\u524a\u9664 -&gt; \u30b3\u30f3\u30c6\u30ca\u4f5c\u6210\u30fb\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">cd \/opt\/podman\r\npodman compose config\r\npodman compose down\r\npodman compose up -d<\/pre>\n<p>\u4ee5\u4e0a\u3067\u8a2d\u5b9a\u5b8c\u4e86\u3002<\/p>\n<h3>\u88dc\u8db3<\/h3>\n<h4>composer\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408<\/h4>\n<p>\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u3067\u5bfe\u5fdc\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">podman exec \\\r\n    -w \/var\/www\/html\/test.site \\\r\n    web-container \\\r\n    composer require xxxxxx\/xxxxxx<\/pre>\n<h4>WordPress\u306e\u7279\u5b9a\u30da\u30fc\u30b8\u3001\u6a5f\u80fd\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408<\/h4>\n<p>WordPress\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u75c7\u72b6\u304c\u767a\u751f\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u3060\u3068\u304c\u30da\u30fc\u30b8\u304c\u771f\u3063\u767d<\/li>\n<li>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u7279\u5b9a\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a2d\u5b9a\u753b\u9762\u304c\u52d5\u4f5c\u3057\u306a\u3044\uff08\u4f55\u3082\u8868\u793a\u3055\u308c\u306a\u3044\uff09<\/li>\n<li>\u30d5\u30ed\u30f3\u30c8\u5074\u3067Lightbox\u7cfb\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u52d5\u4f5c\u3057\u306a\u3044<\/li>\n<\/ul>\n<p>\u30d6\u30e9\u30a6\u30b6\u306e\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u30c4\u30fc\u30eb\u3092\u898b\u308b\u3068JavaScript\u7cfb\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u5927\u91cf\u306b403\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n<p>Nginx\u8a2d\u5b9a\u306b\u554f\u984c\u304c\u3042\u308a\u4ee5\u4e0b\u306e\u512a\u5148\u524d\u65b9\u4e00\u81f4\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067403\u304c\u6539\u5584\u3055\u308c\u3001\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u512a\u5148\u524d\u65b9\u4e00\u81f4\u6307\u5b9a\r\nlocation ^~ \/wordpress\/ {<\/pre>\n<h4>Let's Encrypt\u3067SSL\u8a3c\u660e\u66f8\u3092\u8ffd\u52a0\u5c0e\u5165\u3057\u305f\u3044\u5834\u5408<\/h4>\n<p>\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306b\u3082SSL\u8a3c\u660e\u66f8\u3092\u5c0e\u5165\u3057\u305f\u3044\u5834\u5408\u3001\u4ee5\u4e0b\u3067\u307e\u3068\u3081\u3066\u5c0e\u5165\u3057\u306a\u304a\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">certbot --nginx -d test.com -d www.test.com -d sub.test.com\r\ncertbot renew --dry-run<\/pre>\n<p>\u5c1a\u3001\u5225\u30c9\u30e1\u30a4\u30f3\u306b\u5c0e\u5165\u3057\u305f\u3044\u5834\u5408\u306f\u5225\u9014\u53d6\u308a\u76f4\u3059\u5f62\u304c\u3088\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u53c2\u8003\u30b5\u30a4\u30c8<\/h2>\n<p><a href=\"https:\/\/watashi.xyz\/nginx-location\/\" target=\"_blank\" rel=\"noopener\">https:\/\/watashi.xyz\/nginx-location\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compo ... <\/p>\n","protected":false},"author":1,"featured_media":7215,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[78,77,7,120],"tags":[],"class_list":["post-7602","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","category-nginx","category-server","category-podman"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\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<link rel=\"canonical\" href=\"https:\/\/taitan916.info\/blog\/archives\/7602\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\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=\"\u30db\u30b9\u30c8\u5074Nginx &amp; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:description\" content=\"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/taitan916.info\/blog\/archives\/7602\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/podman.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/podman.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-03T15:27:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-22T07:58:01+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u30db\u30b9\u30c8\u5074Nginx &amp; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/podman.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\\\/7602#article\",\"name\":\"\\u30db\\u30b9\\u30c8\\u5074Nginx & Apache\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306b\\u3066Web\\u516c\\u958b\\u7528\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u69cb\\u9020\\u306b\\u3064\\u3044\\u3066 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"headline\":\"\\u30db\\u30b9\\u30c8\\u5074Nginx &#038; Apache\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306b\\u3066Web\\u516c\\u958b\\u7528\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u69cb\\u9020\\u306b\\u3064\\u3044\\u3066\",\"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\\\/podman.png\",\"width\":512,\"height\":512},\"datePublished\":\"2026-10-04T00:27:28+09:00\",\"dateModified\":\"2026-09-22T16:58:01+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602#webpage\"},\"articleSection\":\"Apache, Nginx, \\u30b5\\u30fc\\u30d0\\u30fc, Podman\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602#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\\\/server#listItem\",\"name\":\"\\u30b5\\u30fc\\u30d0\\u30fc\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/server#listItem\",\"position\":2,\"name\":\"\\u30b5\\u30fc\\u30d0\\u30fc\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/server\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/server\\\/apache#listItem\",\"name\":\"Apache\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/server\\\/apache#listItem\",\"position\":3,\"name\":\"Apache\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/server\\\/apache\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602#listItem\",\"name\":\"\\u30db\\u30b9\\u30c8\\u5074Nginx &#038; Apache\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306b\\u3066Web\\u516c\\u958b\\u7528\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u69cb\\u9020\\u306b\\u3064\\u3044\\u3066\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/server#listItem\",\"name\":\"\\u30b5\\u30fc\\u30d0\\u30fc\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602#listItem\",\"position\":4,\"name\":\"\\u30db\\u30b9\\u30c8\\u5074Nginx &#038; Apache\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306b\\u3066Web\\u516c\\u958b\\u7528\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u69cb\\u9020\\u306b\\u3064\\u3044\\u3066\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/server\\\/apache#listItem\",\"name\":\"Apache\"}}]},{\"@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\\\/7602#webpage\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602\",\"name\":\"\\u30db\\u30b9\\u30c8\\u5074Nginx & Apache\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306b\\u3066Web\\u516c\\u958b\\u7528\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u69cb\\u9020\\u306b\\u3064\\u3044\\u3066 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"Podman\\u30b3\\u30f3\\u30c6\\u30ca\\u74b0\\u5883\\u306e\\u5404\\u7a2e\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u3092\\u6574\\u7406\\u3057\\u305f\\u3044\\u3002docker-compose.yml\\u7b49\\u306ePodman\\u95a2\\u9023\\u30d5\\u30a1\\u30a4\\u30eb\\u3084mpm_prefork.conf\\u7b49\\u306e\\u8a2d\\u5b9a\\u30d5\\u30a1\\u30a4\\u30eb\\u306f\\u300c\\\/opt\\\/podman\\u300d\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u306b\\u307e\\u3068\\u3081\\u305f\\u304c\\u3001web\\u516c\\u958b\\u9818\\u57df\\u90e8\\u5206\\u306e\\u8a2d\\u5b9a\\u306b\\u96e3\\u5100\\u3057\\u305f\\u3002\\u3053\\u306e\\u8fba\\u308a\\u306e\\u6574\\u7406\\u65b9\\u6cd5\\u3092\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602#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\\\/podman.png\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602\\\/#mainImage\",\"width\":512,\"height\":512},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/7602#mainImage\"},\"datePublished\":\"2026-10-04T00:27:28+09:00\",\"dateModified\":\"2026-09-22T16:58:01+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\\u3002\",\"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":"\u30db\u30b9\u30c8\u5074Nginx & Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","canonical_url":"https:\/\/taitan916.info\/blog\/archives\/7602","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/taitan916.info\/blog\/archives\/7602#article","name":"\u30db\u30b9\u30c8\u5074Nginx & Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","headline":"\u30db\u30b9\u30c8\u5074Nginx &#038; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066","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\/podman.png","width":512,"height":512},"datePublished":"2026-10-04T00:27:28+09:00","dateModified":"2026-09-22T16:58:01+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7602#webpage"},"isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7602#webpage"},"articleSection":"Apache, Nginx, \u30b5\u30fc\u30d0\u30fc, Podman"},{"@type":"BreadcrumbList","@id":"https:\/\/taitan916.info\/blog\/archives\/7602#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\/server#listItem","name":"\u30b5\u30fc\u30d0\u30fc"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/server#listItem","position":2,"name":"\u30b5\u30fc\u30d0\u30fc","item":"https:\/\/taitan916.info\/blog\/archives\/category\/server","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/server\/apache#listItem","name":"Apache"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/server\/apache#listItem","position":3,"name":"Apache","item":"https:\/\/taitan916.info\/blog\/archives\/category\/server\/apache","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/7602#listItem","name":"\u30db\u30b9\u30c8\u5074Nginx &#038; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/server#listItem","name":"\u30b5\u30fc\u30d0\u30fc"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/7602#listItem","position":4,"name":"\u30db\u30b9\u30c8\u5074Nginx &#038; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066","previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/server\/apache#listItem","name":"Apache"}}]},{"@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\/7602#webpage","url":"https:\/\/taitan916.info\/blog\/archives\/7602","name":"\u30db\u30b9\u30c8\u5074Nginx & Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7602#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\/podman.png","@id":"https:\/\/taitan916.info\/blog\/archives\/7602\/#mainImage","width":512,"height":512},"primaryImageOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/7602#mainImage"},"datePublished":"2026-10-04T00:27:28+09:00","dateModified":"2026-09-22T16:58:01+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\u3002","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":"\u30db\u30b9\u30c8\u5074Nginx &amp; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:description":"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","og:url":"https:\/\/taitan916.info\/blog\/archives\/7602","og:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/podman.png","og:image:secure_url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/podman.png","og:image:width":512,"og:image:height":512,"article:published_time":"2026-10-03T15:27:28+00:00","article:modified_time":"2026-09-22T07:58:01+00:00","twitter:card":"summary","twitter:title":"\u30db\u30b9\u30c8\u5074Nginx &amp; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","twitter:description":"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","twitter:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2026\/08\/podman.png"},"aioseo_meta_data":{"post_id":"7602","title":null,"description":"Podman\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u5404\u7a2e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6574\u7406\u3057\u305f\u3044\u3002docker-compose.yml\u7b49\u306ePodman\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3084mpm_prefork.conf\u7b49\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u300c\/opt\/podman\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u307e\u3068\u3081\u305f\u304c\u3001web\u516c\u958b\u9818\u57df\u90e8\u5206\u306e\u8a2d\u5b9a\u306b\u96e3\u5100\u3057\u305f\u3002\u3053\u306e\u8fba\u308a\u306e\u6574\u7406\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","keywords":null,"keyphrases":{"focus":[],"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-08-31 16:27:28","updated":"2026-09-22 07:58:01","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\/server\" title=\"\u30b5\u30fc\u30d0\u30fc\">\u30b5\u30fc\u30d0\u30fc<\/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\/server\/apache\" title=\"Apache\">Apache<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u30db\u30b9\u30c8\u5074Nginx &amp; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/taitan916.info\/blog"},{"label":"\u30b5\u30fc\u30d0\u30fc","link":"https:\/\/taitan916.info\/blog\/archives\/category\/server"},{"label":"Apache","link":"https:\/\/taitan916.info\/blog\/archives\/category\/server\/apache"},{"label":"\u30db\u30b9\u30c8\u5074Nginx &#038; Apache\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u3066Web\u516c\u958b\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066","link":"https:\/\/taitan916.info\/blog\/archives\/7602"}],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/7602","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=7602"}],"version-history":[{"count":1,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/7602\/revisions"}],"predecessor-version":[{"id":7954,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/7602\/revisions\/7954"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/7215"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=7602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=7602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=7602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}