     #     return 404;
     # }
 
-    # location / {
-    #     return 301 https://$server_name$request_uri;
-    # }
+    location / {
+        return 301 https://$server_name$request_uri;
+    }
 }
 
 server {

# Redirect all HTTP trafic to HTTPS

server {
    listen 80;
    listen [::]:80;

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


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;

