Advertisement
Capoeirista

domen conf 2

Oct 9th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin root@site.ru
  3. ServerName fastdl.site.ru
  4. Redirect / https://fastdl.site.ru/
  5. DocumentRoot /var/www/user-www/data/www/fastdl.site.ru
  6. DirectoryIndex index.html
  7. ErrorLog /var/www/user-www/data/logs/fastdl.site.ru.error.log
  8.  
  9. #emerg - Фатальные ошибки.
  10. #alert - Необходимо немедленно исправить ситуацию.
  11. #crit - Критические ошибки.
  12. #error - Обычные ошибки.
  13. #warn - Предупреждения.
  14. #notice - Уведомления.
  15. #info - Информация.
  16. #debug - Подробные уведомления для отладки.
  17. #LogLevel notice
  18.  
  19. CustomLog /var/www/user-www/data/logs/fastdl.site.ru.access.log combined
  20.  
  21. php_admin_value upload_tmp_dir "/var/www/user-www/data/tmp"
  22. php_admin_value session.save_path "/var/www/user-www/data/tmp/sessions"
  23.  
  24. <Directory /var/www/user-www/data/www/fastdl.site.ru>
  25. Options All -Indexes
  26. </Directory>
  27. </VirtualHost>
  28.  
  29. <VirtualHost *:443>
  30. ServerName fastdl.site.ru
  31. DocumentRoot /var/www/user-www/data/www/fastdl.site.ru
  32. SSLEngine on
  33. SSLCertificateFile /etc/letsencrypt/live/fastdl.site.ru/cert.pem
  34. SSLCertificateKeyFile /etc/letsencrypt/live/fastdl.site.ru/privkey.pem
  35. SSLCertificateChainFile /etc/letsencrypt/live/fastdl.site.ru/chain.pem
  36. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement