Skip to content

Instantly share code, notes, and snippets.

@mpalourdio
Last active February 3, 2025 14:43
Show Gist options
  • Select an option

  • Save mpalourdio/1bd8e4af1a893b85168889a76858e0f1 to your computer and use it in GitHub Desktop.

Select an option

Save mpalourdio/1bd8e4af1a893b85168889a76858e0f1 to your computer and use it in GitHub Desktop.

Revisions

  1. mpalourdio revised this gist Feb 3, 2025. No changes.
  2. mpalourdio created this gist Nov 15, 2023.
    8 changes: 8 additions & 0 deletions default.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    server {
    listen 8080;
    server_name localhost;

    location ~ ^/repository/npm-group/-/npm/(.*)$ {
    return 307 https://registry.npmjs.org/-/npm/$1;
    }
    }