service configuration files that needs to be saved just incase the server got lost someday by the cloud provider.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 line
3.6KB

  1. <VirtualHost 103.195.6.218:80>
  2. SuexecUserGroup "#1003" "#1003"
  3. ServerName rpn.supertraderfx.ayvwd8em49pvoa3g.com
  4. ServerAlias www.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  5. ServerAlias mail.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  6. ServerAlias webmail.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  7. ServerAlias admin.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  8. DocumentRoot /home/rpn/public_html
  9. ErrorLog /var/log/virtualmin/rpn.supertraderfx.ayvwd8em49pvoa3g.com_error_log
  10. CustomLog /var/log/virtualmin/rpn.supertraderfx.ayvwd8em49pvoa3g.com_access_log combined
  11. ScriptAlias /cgi-bin/ /home/rpn/cgi-bin/
  12. DirectoryIndex index.html index.htm index.php index.php4 index.php5
  13. ProxyPreserveHost On
  14. ProxyPass / http://localhost:8080/
  15. ProxyPassReverse / http://localhost:8080/
  16. <Directory /home/rpn/public_html>
  17. Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
  18. allow from all
  19. AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
  20. Require all granted
  21. AddType application/x-httpd-php .php
  22. AddHandler fcgid-script .php
  23. AddHandler fcgid-script .php7.3
  24. FCGIWrapper /home/rpn/fcgi-bin/php7.3.fcgi .php
  25. FCGIWrapper /home/rpn/fcgi-bin/php7.3.fcgi .php7.3
  26. </Directory>
  27. <Directory /home/rpn/cgi-bin>
  28. allow from all
  29. AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
  30. Require all granted
  31. </Directory>
  32. RewriteEngine on
  33. RewriteCond %{HTTP_HOST} =webmail.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  34. RewriteRule ^(.*) https://rpn.supertraderfx.ayvwd8em49pvoa3g.com:20000/ [R]
  35. RewriteCond %{HTTP_HOST} =admin.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  36. RewriteRule ^(.*) https://rpn.supertraderfx.ayvwd8em49pvoa3g.com:10000/ [R]
  37. RemoveHandler .php
  38. RemoveHandler .php7.3
  39. FcgidMaxRequestLen 1073741824
  40. </VirtualHost>
  41. <VirtualHost 103.195.6.218:443>
  42. SuexecUserGroup "#1003" "#1003"
  43. ServerName rpn.supertraderfx.ayvwd8em49pvoa3g.com
  44. ServerAlias www.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  45. ServerAlias mail.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  46. ServerAlias webmail.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  47. ServerAlias admin.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  48. DocumentRoot /home/rpn/public_html
  49. ErrorLog /var/log/virtualmin/rpn.supertraderfx.ayvwd8em49pvoa3g.com_error_log
  50. CustomLog /var/log/virtualmin/rpn.supertraderfx.ayvwd8em49pvoa3g.com_access_log combined
  51. ScriptAlias /cgi-bin/ /home/rpn/cgi-bin/
  52. DirectoryIndex index.html index.htm index.php index.php4 index.php5
  53. ProxyPreserveHost On
  54. ProxyPass / http://localhost:8080/
  55. ProxyPassReverse / http://localhost:8080/
  56. <Directory /home/rpn/public_html>
  57. Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
  58. allow from all
  59. AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
  60. Require all granted
  61. AddType application/x-httpd-php .php
  62. AddHandler fcgid-script .php
  63. AddHandler fcgid-script .php7.3
  64. FCGIWrapper /home/rpn/fcgi-bin/php7.3.fcgi .php
  65. FCGIWrapper /home/rpn/fcgi-bin/php7.3.fcgi .php7.3
  66. </Directory>
  67. <Directory /home/rpn/cgi-bin>
  68. allow from all
  69. AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
  70. Require all granted
  71. </Directory>
  72. RewriteEngine on
  73. RewriteCond %{HTTP_HOST} =webmail.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  74. RewriteRule ^(.*) https://rpn.supertraderfx.ayvwd8em49pvoa3g.com:20000/ [R]
  75. RewriteCond %{HTTP_HOST} =admin.rpn.supertraderfx.ayvwd8em49pvoa3g.com
  76. RewriteRule ^(.*) https://rpn.supertraderfx.ayvwd8em49pvoa3g.com:10000/ [R]
  77. RemoveHandler .php
  78. RemoveHandler .php7.3
  79. FcgidMaxRequestLen 1073741824
  80. SSLEngine on
  81. SSLCertificateFile /home/rpn/ssl.cert
  82. SSLCertificateKeyFile /home/rpn/ssl.key
  83. SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
  84. </VirtualHost>