 proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=static:10m inactive=60m use_temp_path=off max_size=4g;
 
 server {
-    listen 443 ssl http2;
-    listen [::]:443 ssl http2;
-
     listen 443 ssl http2;
     listen [::]:443 ssl http2;
 

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

    root /home/hakon/tapcrate/tapcrate-api/;

    server_name api.tapcrate.com www.api.tapcrate.com;


    #     return 404;
    # }

    location / {
        return 301 https://$server_name$request_uri;
    }
}

server {
