[GH-ISSUE #222] Q about serving directories #193

Closed
opened 2026-02-26 06:31:21 +03:00 by kerem · 1 comment
Owner

Originally created by @rkraken on GitHub (Oct 30, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/222

Sorry for what is likely a basic question here and probably mangled terminology.

I have a (non dockerized) Nextcloud running on my server which is accessed through apache2, and I'm wondering if it's possible to replace apache2 with NPM.

The reason I'm asking is I want to add additional dockerized services and have everything run through NPM. Currently nextcloud is located in a directory under /var/www/ and I don't see an obvious way to configure NPM to access directories, only to port-based services. What I believe I'm asking is if NPM can also function as a webserver in addition to the reverse proxy function.

Would I instead have to keep apache2 as the webserver, changing the port number, then configure a host in NPM to access it?

Thanks for any clarification.

Originally created by @rkraken on GitHub (Oct 30, 2019). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/222 Sorry for what is likely a basic question here and probably mangled terminology. I have a (non dockerized) Nextcloud running on my server which is accessed through apache2, and I'm wondering if it's possible to replace apache2 with NPM. The reason I'm asking is I want to add additional dockerized services and have everything run through NPM. Currently nextcloud is located in a directory under /var/www/ and I don't see an obvious way to configure NPM to access directories, only to port-based services. What I believe I'm asking is if NPM can also function as a webserver in addition to the reverse proxy function. Would I instead have to keep apache2 as the webserver, changing the port number, then configure a host in NPM to access it? Thanks for any clarification.
kerem 2026-02-26 06:31:21 +03:00
Author
Owner

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

Unfortunately this is not possible. However there is an open feature request for this: https://github.com/jc21/nginx-proxy-manager/issues/58

<!-- gh-comment-id:838937408 --> @chaptergy commented on GitHub (May 11, 2021): Unfortunately this is not possible. However there is an open feature request for this: 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#193
No description provided.