Advertisement
Guest User

next.conf

a guest
May 11th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName ciach
  3. ServerAlias ciach
  4. DocumentRoot "/home/nextcloud/"
  5.  
  6. ErrorLog ${APACHE_LOG_DIR}/cloud/error.log
  7. CustomLog ${APACHE_LOG_DIR}/cloud/access.log combined
  8.  
  9. <Directory /home/nextcloud/>
  10. Options +FollowSymlinks
  11. AllowOverride All
  12.  
  13. <IfModule mod_dav.c>
  14. Dav off
  15. </IfModule>
  16.  
  17. SetEnv HOME /home/nextcloud
  18. SetEnv HTTP_HOME /home/nextcloud
  19.  
  20. </Directory>
  21. RewriteEngine on
  22. RewriteCond %{SERVER_NAME} = ciach
  23. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  24. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement