Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. # This file was generated by genapachecfg.pl
  2. # look in /home/cpuportal/etc/apache/config.ini
  3. # for configuration settings.
  4. # run genapachecfg.pl --help for help with configuration options
  5. <VirtualHost 172.31.19.72:80 [::]:80>
  6. AssignUserID cpuportal portal
  7.  
  8. DocumentRoot /home/cpuportal/sites/main/htdocs
  9. ServerName portal.cpunderconstruction.com
  10. ServerAdmin webmaster@commonplaces.com
  11.  
  12. ServerAlias dev.portal.cpunderconstruction.com
  13. ServerAlias www.portal.cpunderconstruction.com
  14. RewriteEngine On
  15. RewriteOptions inherit
  16. <Directory /home/cpuportal/sites/main>
  17. AllowOverride All
  18. AuthType Basic
  19. AuthName "portal.cpunderconstruction.com Staging Site"
  20. AuthUserFile /home/cpuportal/etc/htpasswd
  21. Require valid-user
  22. </Directory>
  23. Alias /servername.html /var/www/html/servername.html
  24. Alias /.well-known /var/www/well-known/.well-known
  25.  
  26. # force ssl but for .well-known
  27. RewriteCond %{REQUEST_URI} !^/.well-known
  28. RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [L,NE,R=permanent]
  29. ErrorLog /home/cpuportal/var/logs/error.log
  30. CustomLog /home/cpuportal/var/logs/access.log combined
  31. </VirtualHost>
  32. # This file was generated by genapachecfg.pl
  33. # look in /home/cpuportal/etc/apache/config.ini
  34. # for configuration settings.
  35. # run genapachecfg.pl --help for help with configuration options
  36. <VirtualHost 172.31.19.72:443 [::]:443>
  37. AssignUserID cpuportal portal
  38.  
  39. DocumentRoot /home/cpuportal/sites/main/htdocs
  40. ServerName portal.cpunderconstruction.com
  41. ServerAdmin webmaster@commonplaces.com
  42.  
  43. ServerAlias dev.portal.cpunderconstruction.com
  44. ServerAlias www.portal.cpunderconstruction.com
  45. RewriteEngine On
  46. RewriteOptions inherit
  47. <Directory /home/cpuportal/sites/main>
  48. AllowOverride All
  49. AuthType Basic
  50. AuthName "portal.cpunderconstruction.com Staging Site"
  51. AuthUserFile /home/cpuportal/etc/htpasswd
  52. Require valid-user
  53. </Directory>
  54. Alias /servername.html /var/www/html/servername.html
  55. Alias /static /home/cpuportal/sites/main/static
  56. <Directory /home/cpuportal/sites/main>
  57. AllowOverride All
  58. AuthType Basic
  59. AuthName "portal.cpunderconstruction.com Staging Site"
  60. AuthUserFile /home/cpuportal/etc/htpasswd
  61. Require valid-user
  62. </Directory>
  63. XSendFile on
  64. XSendFilePath "/home/cpuportal/sites/main/htdocs/media"
  65. SSLEngine on
  66. SSLHonorCipherOrder On
  67. #SSLCipherSuite HIGH:MEDIUM:!SSLv2:!ADH:!aNULL:!eNULL:!NULL:!LOW
  68. SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AE
  69. S:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!SSLv2:!ADH
  70. #SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
  71. SSLProtocol All -SSLv2 -SSLv3
  72. SSLCertificateKeyFile /cp/ssl/privkey.pem
  73. SSLCertificateFile /cp/ssl/cert.pem
  74. SSLCertificateChainFile /cp/ssl/chain.pem
  75. SSLOptions +ExportCertData +StrictRequire
  76. SSLUseStapling off
  77. SSLCACertificateFile /cp/ssl/chain.pem
  78. SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
  79.  
  80. WSGIDaemonProcess cpuportalssl python-path=/home/cpuportal/sites/main/env:/h
  81. ome/cpuportal/sites/main/env/lib/python3.4/site-packages:/home/cpuportal/sites/m
  82. ain/htdocs user=cpuportal group=portal
  83. WSGIProcessGroup cpuportalssl
  84. WSGIScriptAlias / /home/cpuportal/sites/main/htdocs/wsgi.py
  85. <Directory /home/cpuportal/sites/main/htdocs>
  86. <Files wsgi.py>
  87. AllowOverride All
  88. AuthType Basic
  89. AuthName "portal.cpunderconstruction.com Staging Site"
  90. AuthUserFile /home/cpuportal/etc/htpasswd
  91. Require valid-user
  92. </Files>
  93. </Directory>
  94. ErrorLog /home/cpuportal/var/logs/error-ssl.log
  95. CustomLog /home/cpuportal/var/logs/access-ssl.log combined
  96. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement