File: //proc/self/root/etc/httpd/conf.d/machine.conf
<VirtualHost _default_:81>
DirectoryIndex index.htm index.html index.shtml index.php index.php5 index.php7 index.php8
DocumentRoot /var/www/html
ProxyPass /server-status !
<Location /server-status>
SetHandler server-status
Require all denied
Include /etc/httpd/conf/ranges_escritorio.conf
</Location>
<FilesMatch \.(phtml|php[0-9]*)$>
SetHandler "proxy:unix:/var/lib/php-fpm/dinesh8149-8.0.sock|fcgi://dinesh8149"
</FilesMatch>
<Proxy "fcgi://dinesh8149">
ProxySet timeout=300
</Proxy>
ProxyPass /cgi-bin/ uwsgi://127.0.0.1:6902/
</VirtualHost>
<VirtualHost _default_:8443>
SSLEngine on
DirectoryIndex index.htm index.html index.shtml index.php index.php5 index.php7 index.php8
DocumentRoot /var/www/html
ProxyPass /server-status !
<Location /server-status>
SetHandler server-status
Require all denied
Include /etc/httpd/conf/ranges_escritorio.conf
</Location>
<FilesMatch \.(phtml|php[0-9]*)$>
SetHandler "proxy:unix:/var/lib/php-fpm/dinesh8149-8.0.sock|fcgi://dinesh8149"
</FilesMatch>
<Proxy "fcgi://dinesh8149">
ProxySet timeout=300
</Proxy>
ProxyPass /cgi-bin/ uwsgi://127.0.0.1:6902/
</VirtualHost>
<VirtualHost *:81>
ServerName dinesh8149
ServerAlias dinesh8149.locaweb.com.br dinesh8149.hospedagem.locaweb.com.br
DirectoryIndex index.htm index.html index.shtml index.php index.php5 index.php7 index.php8
DocumentRoot /var/www/html
ProxyPass /server-status !
<Location /server-status>
SetHandler server-status
Require all denied
Include /etc/httpd/conf/ranges_escritorio.conf
</Location>
<FilesMatch \.(phtml|php[0-9]*)$>
SetHandler "proxy:unix:/var/lib/php-fpm/dinesh8149-8.0.sock|fcgi://dinesh8149"
</FilesMatch>
<Proxy "fcgi://dinesh8149">
ProxySet timeout=300
</Proxy>
ProxyPass /cgi-bin/ uwsgi://127.0.0.1:6902/
</VirtualHost>
<VirtualHost *:8443>
SSLEngine on
ServerName dinesh8149
ServerAlias dinesh8149.locaweb.com.br dinesh8149.hospedagem.locaweb.com.br
DirectoryIndex index.htm index.html index.shtml index.php index.php5 index.php7 index.php8
DocumentRoot /var/www/html
ProxyPass /server-status !
<Location /server-status>
SetHandler server-status
Require all denied
Include /etc/httpd/conf/ranges_escritorio.conf
</Location>
<FilesMatch \.(phtml|php[0-9]*)$>
SetHandler "proxy:unix:/var/lib/php-fpm/dinesh8149-8.0.sock|fcgi://dinesh8149"
</FilesMatch>
<Proxy "fcgi://dinesh8149">
ProxySet timeout=300
</Proxy>
ProxyPass /cgi-bin/ uwsgi://127.0.0.1:6902/
</VirtualHost>