Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /etc/apache2/sites-enabled/ drwxr-xr-x | |
| Viewing file: Select action/file-type: <VirtualHost 203.161.58.4:80>
SuexecUserGroup #1045 #1026
ServerName rentals.nukhbatalaman.com
ServerAlias www.rentals.nukhbatalaman.com
ServerAlias mail.rentals.nukhbatalaman.com
ServerAlias webmail.rentals.nukhbatalaman.com
ServerAlias admin.rentals.nukhbatalaman.com
DocumentRoot /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/public_html/dist
ErrorLog /var/log/virtualmin/rentals.nukhbatalaman.com_error_log
CustomLog /var/log/virtualmin/rentals.nukhbatalaman.com_access_log combined
ScriptAlias /cgi-bin/ /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/cgi-bin/
DirectoryIndex index.php index.php4 index.php5 index.htm index.html
<Directory /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/public_html/dist>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php7.4
AddHandler fcgid-script .php8.0
AddHandler fcgid-script .php8.1
AddHandler fcgid-script .php8.2
AddHandler fcgid-script .php8.3
FCGIWrapper /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/fcgi-bin/php8.3.fcgi .php
FCGIWrapper /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/fcgi-bin/php7.4.fcgi .php7.4
FCGIWrapper /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/fcgi-bin/php8.0.fcgi .php8.0
FCGIWrapper /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/fcgi-bin/php8.1.fcgi .php8.1
FCGIWrapper /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/fcgi-bin/php8.2.fcgi .php8.2
FCGIWrapper /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/fcgi-bin/php8.3.fcgi .php8.3
</Directory>
<Directory /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.rentals.nukhbatalaman.com
RewriteRule ^(?!/.well-known)(.*) https://rentals.nukhbatalaman.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.rentals.nukhbatalaman.com
RewriteRule ^(?!/.well-known)(.*) https://rentals.nukhbatalaman.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php7.4
RemoveHandler .php8.0
RemoveHandler .php8.1
RemoveHandler .php8.2
RemoveHandler .php8.3
FcgidMaxRequestLen 1073741824
RewriteCond %{HTTPS} off
RewriteRule ^/(?!.well-known)(.*)$ https://%{HTTP_HOST}/$1 [R]
</VirtualHost>
<VirtualHost 203.161.58.4:443>
ServerName rentals.nukhbatalaman.com
ServerAlias www.rentals.nukhbatalaman.com
# SSL
SSLEngine on
SSLCertificateFile /etc/ssl/virtualmin/17536166332639245/ssl.cert
SSLCertificateKeyFile /etc/ssl/virtualmin/17536166332639245/ssl.key
SSLCACertificateFile /etc/ssl/virtualmin/17536166332639245/ssl.ca
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
# Increase upload handling (already good)
FcgidMaxRequestLen 1073741824
Timeout 600
ProxyTimeout 600
# Backend API routing to Node.js on port 3003
ProxyPreserveHost On
ProxyRequests Off
ProxyIOBufferSize 65536
ProxyPass /api/ http://localhost:3003/api/ nocanon
ProxyPassReverse /api/ http://localhost:3003/api/
ProxyPass /uploads/ http://localhost:3003/uploads/
ProxyPassReverse /uploads/ http://localhost:3003/uploads/
# Serve frontend from build directory
DocumentRoot /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/public_html/dist
<Directory /home/nukhbatalaman/domains/rentals.nukhbatalaman.com/public_html/dist>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/virtualmin/rentals.nukhbatalaman.com_error_log
CustomLog /var/log/virtualmin/rentals.nukhbatalaman.com_access_log combined
</VirtualHost>
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0027 ]-- |