         proxy_cache static;
         try_files $uri =404;
     }
-
-    location ~ /.well-known {
-        allow all;
-    }
 }
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    include snippets/ssl-api.polymyr.com.conf;
    include snippets/ssl-params.conf;

    root /home/hakon/polymyr/polymyr-dev-api/;

    server_name api.polymyr.com www.api.polymyr.com;

    location ~ /.well-known {
        allow all;
        try_files $uri =404;
    }

    location / {
        include proxy_params;

    location ~ /\.ht {
        deny all;
    }
}

server {
