proxy_cache_path /var/tmp levels=1:2 keys_zone=my_cache:10m max_size=10g inactive=60m use_temp_path=off; resolver_timeout 5s; server { listen 80; listen [::]:80 ipv6only=on; #server_name hybrid-local.swarmlab.io; server_name localhost; #return 301 https://hybrid-local.swarmlab.io$request_uri; #listen [::]:443 ssl ipv6only=off; #server_name hybrid-local.swarmlab.io; #server_name localhost; root /home/node/swarmlab-app/dist; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0; #ssl_certificate /etc/nginx/swarmlab.crt; #ssl_certificate_key /etc/nginx/swarmlab.key; #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #ssl_ciphers HIGH:!aNULL:!MD5; location / { index index.html; } }