[Spce-user] [EXTERNAL] Re: nginx and prometheus-nginx-exporter fail to load after reboot
Michael Prokop
mprokop at sipwise.com
Mon Jan 27 03:05:55 EST 2025
Hi,
* Cesar Mora [Fri Jan 24, 2025 at 03:16:22PM -0400]:
> I haven’t modified any of these files. All I can think of is that something gets messed up in there when I perform the initial "ngcp-network” to define neth0 as the main interface (my server has 2 NICs) with:
[...]
> Anyways… The files under /etc/nginx/sites-enabled/ look as:
>
> root at spce:/etc/nginx/sites-enabled# ls
> ngcp-panel_admin_api ngcp-panel_csc ngcp-panel_system_api nginx-status
>
> And inside nginx-status is:
>
> server {
> listen localhost:8081;
> #server_name localhost;
>
> location /nginx_status {
> stub_status on;
> access_log off;
> allow 127.0.0.1;
> allow ::1;
> deny all;
> }
> }
This looks ok, but as already written:
> > On Jan 22, 2025, at 11:27 AM, Michael Prokop via Spce-user <spce-user at lists.sipwise.com> wrote:
> > What do you have inside /etc/nginx/sites-enabled/nginx and what are
> > the files looking like, where port 8081 is referred to? (One of them
> > should be /etc/nginx/sites-available/nginx-status)
You seem to have another file which uses port 8081.
regards
-mika-
More information about the Spce-user
mailing list