{"id":18778316,"url":"https://github.com/ajsalemo/php8-nginx-custom-startupscript","last_synced_at":"2026-04-09T12:03:33.404Z","repository":{"id":103501109,"uuid":"397729302","full_name":"Ajsalemo/PHP8-NGINX-Custom-StartupScript","owner":"Ajsalemo","description":"A sample that shows how to override the default nginx.conf file in a PHP8 Azure Docker Container to do things such as edit/change headers. ","archived":false,"fork":false,"pushed_at":"2021-08-24T17:12:31.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T05:36:23.267Z","etag":null,"topics":["azure","containers","docker","nginx","paas","php","php-fpm","php8","startup-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ajsalemo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-08-18T20:38:37.000Z","updated_at":"2021-08-24T17:12:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b31070cc-889c-49c0-85ad-f74b8ddadd6d","html_url":"https://github.com/Ajsalemo/PHP8-NGINX-Custom-StartupScript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ajsalemo/PHP8-NGINX-Custom-StartupScript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP8-NGINX-Custom-StartupScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP8-NGINX-Custom-StartupScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP8-NGINX-Custom-StartupScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP8-NGINX-Custom-StartupScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ajsalemo","download_url":"https://codeload.github.com/Ajsalemo/PHP8-NGINX-Custom-StartupScript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FPHP8-NGINX-Custom-StartupScript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006041,"owners_count":26084024,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["azure","containers","docker","nginx","paas","php","php-fpm","php8","startup-script"],"created_at":"2024-11-07T20:15:53.706Z","updated_at":"2025-10-11T03:05:26.871Z","avatar_url":"https://github.com/Ajsalemo.png","language":"Shell","readme":"# PHP8-NGINX-Custom-StartupScript\n\nA sample that shows how to override the default nginx.conf file in a PHP8 Azure Docker Container to do things such as edit/change headers. This [quickstart](https://docs.microsoft.com/en-us/azure/app-service/quickstart-php?pivots=platform-linux) was used for a quick basic scaffold for testing.\n\nThis specific repo removes the X-Powered-By header and the NGINX version from the Server header - but can be further expanded upon through the nginx.conf file.\n\n1. Copy the custom startup script to /home\n2. In the Azure Portal go to the Web App -\u003e Configuration -\u003e -\u003e General Settings -\u003e Startup Command\n3. Set the value to /home/\u003cyour_custom_startup_script_name\u003e.sh\n4. Click Save\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajsalemo%2Fphp8-nginx-custom-startupscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajsalemo%2Fphp8-nginx-custom-startupscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajsalemo%2Fphp8-nginx-custom-startupscript/lists"}