[GH-ISSUE #962] How to run a personal website at npm? #808

Closed
opened 2026-02-26 06:34:30 +03:00 by kerem · 3 comments
Owner

Originally created by @talesam on GitHub (Mar 20, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/962

I researched and found nothing about it.
If I want to run a personal website and use npm as a web server or want to set up a package repository, how do I do this?

I'm trying to create an archlinux repository but I don't know how to set this up in npm ...

server {
    server_name repo.sun.hexor.ru;
    listen [::]:443 ssl;
    listen 443 ssl;
    include security.conf;
    include letsencrypt.conf;
    root /srv/arch-repo;
    location / {
        autoindex on;
        try_files $uri $uri/ =404;
    }
    access_log /var/log/nginx/logs/repo.sun.hexor.ru.access.log custom;
    error_log /var/log/nginx/logs/repo.sun.hexor.ru.error.log;
}
Originally created by @talesam on GitHub (Mar 20, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/962 I researched and found nothing about it. If I want to run a personal website and use npm as a web server or want to set up a package repository, how do I do this? I'm trying to create an archlinux repository but I don't know how to set this up in npm ... ``` server { server_name repo.sun.hexor.ru; listen [::]:443 ssl; listen 443 ssl; include security.conf; include letsencrypt.conf; root /srv/arch-repo; location / { autoindex on; try_files $uri $uri/ =404; } access_log /var/log/nginx/logs/repo.sun.hexor.ru.access.log custom; error_log /var/log/nginx/logs/repo.sun.hexor.ru.error.log; } ```
kerem 2026-02-26 06:34:30 +03:00
Author
Owner

@DarioViva42 commented on GitHub (Apr 9, 2021):

npm is not a web server. its a reverse proxy.
you need to set up a webserver first, and then configure npm to proxy webrequests to your webserver.
thats at least how I have understood this program …

<!-- gh-comment-id:816827336 --> @DarioViva42 commented on GitHub (Apr 9, 2021): npm is not a web server. its a reverse proxy. you need to set up a webserver first, and then configure npm to proxy webrequests to your webserver. thats at least how I have understood this program …
Author
Owner

@talesam commented on GitHub (Apr 11, 2021):

npm is not a web server. its a reverse proxy.
you need to set up a webserver first, and then configure npm to proxy webrequests to your webserver.
thats at least how I have understood this program …

Thanks!!

<!-- gh-comment-id:817344321 --> @talesam commented on GitHub (Apr 11, 2021): > npm is not a web server. its a reverse proxy. > you need to set up a webserver first, and then configure npm to proxy webrequests to your webserver. > thats at least how I have understood this program … Thanks!!
Author
Owner

@chaptergy commented on GitHub (May 12, 2021):

There is a feature request for this though: https://github.com/jc21/nginx-proxy-manager/issues/58

<!-- gh-comment-id:840162520 --> @chaptergy commented on GitHub (May 12, 2021): There is a feature request for this though: https://github.com/jc21/nginx-proxy-manager/issues/58
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#808
No description provided.