Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
etc
/
apache2
/
sites-enabled
/
Filename :
crmapi.abasa.com.conf
back
Copy
<VirtualHost *:443> ServerName crmapi.abasa.com SSLEngine on SSLCertificateFile /etc/letsencrypt/live/crmapi.abasa.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/crmapi.abasa.com/privkey.pem ProxyPreserveHost On ProxyRequests Off ProxyTimeout 600 # WebSocket proxy rules - MUST come before other ProxyPass RewriteEngine On RewriteCond %{HTTP:Upgrade} =websocket [NC] RewriteCond %{HTTP:Connection} upgrade [NC] RewriteRule ^/(.*) ws://127.0.0.1:8081/$1 [P,L] # Socket.IO with WebSocket support ProxyPass /socket.io/ http://127.0.0.1:8081/socket.io/ upgrade=websocket keepalive=On ProxyPassReverse /socket.io/ http://127.0.0.1:8081/socket.io/ # Regular traffic ProxyPass / http://127.0.0.1:8081/ ProxyPassReverse / http://127.0.0.1:8081/ # Headers RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Port "443" ErrorLog ${APACHE_LOG_DIR}/crmapi-error.log CustomLog ${APACHE_LOG_DIR}/crmapi-access.log combined </VirtualHost> <VirtualHost *:80> ServerName crmapi.abasa.com Redirect permanent / https://crmapi.abasa.com/ </VirtualHost>