Week 11 Progress Report by Mebin J Thattil

~ Note: These blogs can be found in the SugarLabs website as well. The content is the same in both places :) ~

Goals for This Week

This Week’s Progress

1. Finishing up deployment

server {
    server_name ai.sugarlabs.org;

    location / {
        proxy_pass http://localhost:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/ai.sugarlabs.org/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/ai.sugarlabs.org/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


}

server {
    listen 443 ssl;
    server_name ai.sugarlabs.org;

    ssl_certificate /etc/letsencrypt/live/ai.sugarlabs.org/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/ai.sugarlabs.org/privkey.pem;

    location / {
        proxy_pass http://localhost:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

So finally SugarAI is live!! You can access it via the API. For docs take a look at the README.

Next Week’s Roadmap

Acknowledgments

Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for their ongoing support. Special thanks to Krish, who also helped with the deployment and development of SugarAI.




Powered by Not An SSG 😎