Sigma-Production / ptero-eggs

Nginx egg Host your Website on pterodactyl panel
Other
81 stars 97 forks source link

IP logging #6

Closed OppoNoppo closed 2 years ago

OppoNoppo commented 2 years ago

Currently looking to make web hosting available on my hosting but, but I'm wondering if the console IP logging can be disabled in some way. If not i just need to accept it but if possible it would be really helpful.

JohnB17 commented 2 years ago

I am not sure if this is possible, as the console is just Nginx logs.

MsMaciek123 commented 2 years ago

Open nginx/conf.d/default.conf and make it look like

server {
    listen 80;
    server_name "";

    access_log /home/container/naccess.log;
    error_log  /home/container/nerror.log error;

It will save logs to theese files and hide logs from console