-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx service does not start after configuration of /etc/nginx/sites-available/default #149
Comments
This is one line: |
yes, I copied from nextcloud doku (example config) and when I removed it I got a new error in line 91. Line 91 contains:
Once I removed it from the config, it is working fine. But now I am not sure, if this is mandatory. Do you know that? |
This option was introduced in nginx 1.7.11 (https://nginx.org/en/CHANGES-1.8). So that should be ok. However, debian is quite popular and we should see many more users complaining. |
Thank you so much. Kind regards |
Steps to reproduce
Expected behaviour
sudo /etc/init.d/nginx start
should start the nginx service againActual behaviour
Checking error log (cat /var/log/nginx/error.log):
2016/06/17 19:14:30 [emerg] 13575#0: invalid number of arguments in "location" directive in /etc/nginx/sites-enabled/default:81
/etc/nginx/sites-enabled/default is pointing to /etc/nginx/sites-available/default and line 81 shows:
/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
Server configuration
Operating system:
debian 8 (jessie)
Web server:
nginx/1.6.2
Database:
mysql 5.5.44
PHP version:
PHP Version 5.6.22-0+deb8u1
Nextcloud version: (see Nextcloud admin page)
nextcloud-9.0.50
Updated from an older Nextcloud/ownCloud or fresh install:
trying to do a fresh installation
Where did you install Nextcloud from:
sudo wget https://download.nextcloud.com/server/releases/nextcloud-9.0.50.tar.bz2
Signing status (Nextcloud 9.0 and above):
not yet installed
List of activated apps:
none
Could not open input file: occ
The content of config/config.php:
not existing yet
Are you using external storage, if yes which one: local/smb/sftp/...
no, just internal SD
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
LDAP configuration (delete this part if not used)
Client configuration
Browser:
Firefox, Chrome (actual one)
Operating system:
Windows 10 x64
Logs
Web server error log
n/a
Nextcloud log (data/owncloud.log)
n/a
Browser log
n/a
The text was updated successfully, but these errors were encountered: