HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/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