⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
cwpsrv
/
conf.d
/
View File Name :
user-api.conf
server { listen 127.0.0.1:2302 ssl; server_name localhost; error_log logs/error_log debug; ssl_session_timeout 90m; ssl_certificate /etc/pki/tls/certs/hostname.bundle; ssl_certificate_key /etc/pki/tls/private/hostname.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; location /oauth { root /usr/local/cwpsrv/var/services; index index.html index.htm index.php; if (!-e $request_filename){ rewrite ^/([^\.]+)$ /$1.php last; } location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_read_timeout 600; fastcgi_pass unix:/usr/local/cwp/php71/var/sockets/oauth.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param PHP_ADMIN_VALUE "open_basedir =/tmp/:/usr/local/cwpsrv/var/services/oauth/:/usr/local/cwpsrv/var/services/twig/:/usr/local/cwpsrv/var/services/users/:/root/.my.cnf"; include fastcgi_params; } location ~* \.(png|cfc|cfm|cgi|css|csslintrc|eot|gif|gitignore|htm|html|ico|jar|java|jpeg|jpg|js|json|less|map|otf|py|pyc|sql|svg|swf|template|ttf|txt|woff|woff2|xap)$ { access_log off; log_not_found off; expires 1M; } } location / { root /usr/local/cwpsrv/var/services/user_api; index index.php index.html index.htm; include /usr/local/cwpsrv/conf/mime.types; if (!-e $request_filename){ rewrite ^/v1/([^/]+)/?$ /v1/index.php?method=$2? last; } location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_read_timeout 600; fastcgi_pass unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; include fastcgi_params; } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { access_log off; log_not_found off; expires 1M; } } }