Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName ciach
- ServerAlias ciach
- DocumentRoot "/home/nextcloud/"
- ErrorLog ${APACHE_LOG_DIR}/cloud/error.log
- CustomLog ${APACHE_LOG_DIR}/cloud/access.log combined
- <Directory /home/nextcloud/>
- Options +FollowSymlinks
- AllowOverride All
- <IfModule mod_dav.c>
- Dav off
- </IfModule>
- SetEnv HOME /home/nextcloud
- SetEnv HTTP_HOME /home/nextcloud
- </Directory>
- RewriteEngine on
- RewriteCond %{SERVER_NAME} = ciach
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement