Advertisement
Guest User

Untitled

a guest
Jan 13th, 2022
39
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost 139.162.252.6:443>
  2. ServerAdmin webmaster@globalcreativenetworks.com
  3. ServerName staging.wheredjsplay.com
  4. Alias /static/ /var/www/vhosts/staging.wheredjsplay.com/wdjp/static/
  5.  
  6. WSGIScriptAlias / /var/www/vhosts/staging.wheredjsplay.com/wdjp/pyadmin/wsgi.py
  7.  
  8. WSGIDaemonProcess staging.wheredjsplay.com.80 user=www-data group=www-data processes=2 threads=10 maximum-requests=500 display-name=staging.wheredjsplay80 python-path=/var/www/vhosts/staging.wheredjsplay.com/wdjp:/var/www/vhosts/staging.wheredjsplay.com/wdjproenv/lib/python3.6/site-packages
  9. WSGIProcessGroup staging.wheredjsplay.com.80
  10. WSGIApplicationGroup %{GLOBAL}
  11.  
  12. WSGIPassAuthorization On
  13.  
  14. # LogLevel info
  15.  
  16. SSLEngine on
  17.  
  18. Alias /static /var/www/vhosts/staging.wheredjsplay.com/wdjp/static
  19. <Directory /var/www/vhosts/staging.wheredjsplay.com/wdjp/static>
  20. Require all granted
  21. </Directory>
  22.  
  23. Alias /media /var/www/vhosts/staging.wheredjsplay.com/wdjp/media
  24. <Directory /var/www/vhosts/staging.wheredjsplay.com/wdjp/media>
  25. Require all granted
  26. </Directory>
  27. <Directory /var/www/vhosts/staging.wheredjsplay.com/wjdp>
  28.  
  29. AuthUserFile /var/www/vhosts/staging.wheredjsplay.com/wjdp/.htpasswd
  30. AuthName "Restricted Content"
  31. AuthType Basic
  32. Require valid-user
  33.  
  34. </Directory>
  35.  
  36.  
  37. SSLCertificateFile /etc/letsencrypt/live/staging.wheredjsplay.com/fullchain.pem
  38. SSLCertificateKeyFile /etc/letsencrypt/live/staging.wheredjsplay.com/privkey.pem
  39. Include /etc/letsencrypt/options-ssl-apache.conf
  40. </VirtualHost>
  41.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement