# http > https server { listen 80; server_name ikea-foundation-week-2026.onc.dk; root /home/ikea_foundation_2026/week_2026/public; # Lets encrypt location ~ /.well-known { allow all; } location / { return 301 https://ikea-foundation-week-2026.onc.dk$request_uri; } } # # # https # server { # listen 443 ssl; # http2 on; # # server_name ikea-foundation-week-2026.onc.dk; # # # keepalive_timeout 300; # keepalive_timeout 5; # client_max_body_size 4G; # # ssl_certificate /etc/letsencrypt/live/ikea-foundation-week-2026.onc.dk/fullchain.pem; # managed by Certbot # ssl_certificate_key /etc/letsencrypt/live/ikea-foundation-week-2026.onc.dk/privkey.pem; # managed by Certbot # include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot # ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot # # location / { # return 301 https://completesentences.ikeafoundation.org$request_uri; # } # } # Puma upstream puma_ikea_26 { server unix:///home/ikea_foundation_2026/week_2026/tmp/pids/puma.sock fail_timeout=0; }