{"id":17843083,"url":"https://github.com/tobycm/nginx-code-server-router","last_synced_at":"2025-08-25T12:25:41.208Z","repository":{"id":138384281,"uuid":"574237374","full_name":"tobycm/nginx-code-server-router","owner":"tobycm","description":"Routing config and njs for nginx","archived":false,"fork":false,"pushed_at":"2022-12-10T00:50:27.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-28T00:18:18.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobycm.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":"2022-12-04T20:51:09.000Z","updated_at":"2024-05-13T10:28:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"05924541-8bec-4d11-9e12-f2cd6e538e11","html_url":"https://github.com/tobycm/nginx-code-server-router","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobycm%2Fnginx-code-server-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobycm%2Fnginx-code-server-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobycm%2Fnginx-code-server-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobycm%2Fnginx-code-server-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobycm","download_url":"https://codeload.github.com/tobycm/nginx-code-server-router/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229792524,"owners_count":18124859,"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":[],"created_at":"2024-10-27T21:22:06.359Z","updated_at":"2024-12-15T07:24:58.928Z","avatar_url":"https://github.com/tobycm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NGINX code-server router\n\n## How to install\n\n### Prerequisites\n- NGINX (`sudo apt install nginx`)\n- Git\n- sudo\n- Smileys :)\n\n### Step 1: Clone this repo:\n```bash\ngit clone https://github.com/tobycm/nginx-code-server-router.git\n```\n\n### Step 2: Copy files to /etc/nginx\n```bash\nrm README.md LICENSE.md\ncp -r * /etc/nginx/\n```\n\n### Step 2.5: Add NGINX PPA:\n```bash\nsudo apt install curl gnupg2 ca-certificates lsb-release debian-archive-keyring\ncurl https://nginx.org/keys/nginx_signing.key | gpg --dearmor \\\n    | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg \u003e/dev/null \necho \"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \\\nhttp://nginx.org/packages/debian `lsb_release -cs` nginx\" \\\n    | sudo tee /etc/apt/sources.list.d/nginx.list\nsudo apt update\n```\n\n### Step 3: Install njs for NGINX:\n```bash\nsudo apt install nginx-module-njs\n```\n\n### Step 4: Watch [this](https://youtube.com/watch?v=dQw4w9WgXcQ)\n\n### Step 5: Chill\n\nIf you have already set [this](https://github.com/tobycm/code-server-instance-manager-nginx/) up, you can run nginx with sudo nginx.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobycm%2Fnginx-code-server-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobycm%2Fnginx-code-server-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobycm%2Fnginx-code-server-router/lists"}