INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / RSS / GPG

Add cache control and CORS to nginx ingress in Kubernetes

№ 11131 В разделе Sysadmin от November 3rd, 2020,
В подшивках: ,

annotations: |
      if ($request_uri ~* \.(js|css|gif|jpe?g|png|woff|woff2|ico)) {
        expires 1M;
        add_header Cache-Control "public";
      } >-
      Authorization 'GET, PUT, POST, DELETE, PATCH, OPTIONS' '*' 'true'

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *


Облачная платформа

Fortune cookie: You can't underestimate the power of fear. -- Tricia Nixon