{"id":24650465,"url":"https://github.com/l1ve4code/frontend-x-backend-nginx","last_synced_at":"2025-03-20T20:37:58.167Z","repository":{"id":271578874,"uuid":"913885542","full_name":"l1ve4code/frontend-x-backend-nginx","owner":"l1ve4code","description":"Template for creating a web application with an SSL certificate","archived":false,"fork":false,"pushed_at":"2025-01-08T15:25:09.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T18:15:01.985Z","etag":null,"topics":["certbot","docker","nginx","ssl"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l1ve4code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T14:41:14.000Z","updated_at":"2025-01-08T15:26:18.000Z","dependencies_parsed_at":"2025-01-08T16:48:43.832Z","dependency_job_id":"33a1208c-7aa0-4c12-aa72-96085b3223f8","html_url":"https://github.com/l1ve4code/frontend-x-backend-nginx","commit_stats":null,"previous_names":["l1ve4code/frontend-x-backend-nginx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Ffrontend-x-backend-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Ffrontend-x-backend-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Ffrontend-x-backend-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Ffrontend-x-backend-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l1ve4code","download_url":"https://codeload.github.com/l1ve4code/frontend-x-backend-nginx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244685688,"owners_count":20493308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["certbot","docker","nginx","ssl"],"created_at":"2025-01-25T18:15:09.708Z","updated_at":"2025-03-20T20:37:58.148Z","avatar_url":"https://github.com/l1ve4code.png","language":"Dockerfile","readme":"\u003ch1 align=\"center\"\u003e\u003cimg src=\"resources/nginx.svg\" width=\"32\"\u003e SSL NGINX TEMPLATE\u003c/h1\u003e\n\n## About\n\nThis is a template for creating a web application with an **SSL certificate**\n\n### Technologies\n\n- Technologies: **Nginx, Certbot, Docker**\n\n### Resources\n\n- [https-using-nginx-certbot-docker](https://mindsers.blog/en/post/https-using-nginx-certbot-docker/)\n- [react-js-application-showing-404-not-found-in-nginx-server](https://stackoverflow.com/questions/43555282/react-js-application-showing-404-not-found-in-nginx-server)\n\n## Installing\n\n- **[1]** Run the following command in the terminal `mkdir frontend \u0026\u0026 mkdir certbot`\n- **[2]** Move your **frontend project** to the **frontend folder**\n- **[3]** In the **nginx/nginx.conf** file, replace **your-url.net** to **your domain**\n- **[4]** In the **nginx/nginx.conf** file, add: **ssl_certificate, ssl_certificate_key**; to the **comment**\n- **[5]** Run the following command in the terminal `docker compose -f nginx.yml up -d`\n- **[6]** Run the following command in the terminal `docker compose -f certbot.yml run --rm  certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d your-url.net`\n- **[7]** Run the following command in the terminal `docker compose -f certbot.yml run --rm  certbot certonly --webroot --webroot-path /var/www/certbot/ -d your-url.net`\n- **[8]** In the **nginx/nginx.conf** file, remove: **ssl_certificate, ssl_certificate_key**; from the **comment**\n- **[9]** Run the following command in the terminal `docker compose -f nginx.yml restart`\n\n## Author\n\n* Telegram: **[@live4code](https://t.me/live4code)**\n* Email: **steven.marelly@gmail.com**","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl1ve4code%2Ffrontend-x-backend-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl1ve4code%2Ffrontend-x-backend-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl1ve4code%2Ffrontend-x-backend-nginx/lists"}