-
-
Save wolegis/002e198c2db7980a84fd8d160c2bdb9a to your computer and use it in GitHub Desktop.
Nextcloud sample configuration for Apache HTTPD when using a subfolder for Nextcloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alias /nextcloud /usr/share/webapps/nextcloud | |
<Directory /usr/share/webapps/nextcloud> | |
Require all granted | |
AllowOverride All | |
Options FollowSymLinks MultiViews | |
DirectoryIndex index.php index.html | |
<IfModule mod_dav.c> | |
Dav off | |
</IfModule> | |
<FilesMatch \.php$> | |
SetHandler "proxy:unix:/run/php-fpm-legacy/nextcloud.sock|fcgi://nextcloud/" | |
</FilesMatch> | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment