wiki-js/DevOps/Helm/Обучение Helm по Крюкову/manifests/configmap-conf.md

602 B

title description published date tags editor dateCreated
configmap-conf true 2023-11-07T18:15:46.644Z markdown 2023-11-07T18:05:41.208Z
---
kind: ConfigMap
apiVersion: v1
metadata:
  name: openresty-conf
data:
  default.conf: |
    server {
        listen       80;
        server_name  localhost;

        location / {
            root   /usr/local/openresty/nginx/html;
            index  index.html index.htm;
        }

        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   /usr/local/openresty/nginx/html;
        }
    }