Register a windows service

 

sc create <name> binpath="<path_to_exec>" 

ex:

 sc create wazuh binpath="c:\Program Files (x86)\ossec-agent\wazuh-agent.exe" 



NGINX upstream sent too big

 

 upstream sent too big header while reading response header from upstream

Add:

fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;

To server{} in nginx.conf

 

 

 

NGINX - To allow a specific User-Agent from one IP address only

Step 1: Define the Map BlocksAdd this configuration inside the http {} block of your /etc/nginx/nginx.conf file. This logic evaluates the in...

Mais vistos