https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/nginx.cpython-310.pyc
o

-�_g!�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s4eZdZdZdZdZdZedddd�gZd	d
�Z	dS)�Nginxznginx http daemon�nginx)�	webserver)r�logFzcollect all nginx logs)�default�desccCs^|�ddg�|�gd��gd�}|�dd�|D��|�d�s&|�d�r-|�d	�dSdS)
Nznginx -Vznginx -T)z/etc/nginx/*z/var/log/nginx/access.logz/var/log/nginx/error.log)�automationcontroller�
automationhub�automationedacontrollercSsg|]}d|�d��qS)z/var/log/nginx/�*�)�.0�altrr�:/usr/lib/python3/dist-packages/sos/report/plugins/nginx.py�
<listcomp>,s�zNginx.setup.<locals>.<listcomp>r�all_logsz/var/log/nginx/*)�add_cmd_output�
add_copy_spec�add_forbidden_path�
get_option)�self�altconfrrr�setups�
��zNginx.setupN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listrrrrrrs�rN)�sos.report.pluginsrrrrrrrr�<module>s

https://t.me/RX1948 - 2025