Closed shadowman50k closed 6 years ago
Am I the only one to experience such issue ?
There is a missing " at the end of line 12 in your nginx.conf.
Maybe that's the issue?
I'll check tomorrow when back to office, but I think it's a copy/paste error ... Nevertheless, thanks for helping !
I noticed, yesterday when I commented the ldap-auth section, the configtest was OK ... As soon as I un-commented it, there was this error
I use vim with nginx markdown via SSH. That's very useful because of some syntax errors or forgotten quotes.
On Windows, Notepad++ is also good to create config files for nginx but mind the EOL setting.
There are special characters in the name of your AD groups, password or so? I use single or double quote ( ' or " ) to prevent syntax errors.
You were right, I just checked and the double quote was missing ... thanks for your help !
Hello I have configured NGINX to act as front end reverse proxy with ldap authentication to connect to Oxidized. I need to auth users belonging to a specific group (could be nested group). NGINX and Oxidized are running on Ubuntu Xenial. NGINX version 1.14.0 Here's my config files: /etc/nginx/nginx.conf
/etc/nginx/conf.d/proxy.conf
I can't get it working, when I check config files with command: service nginx configtest I only get this type of error: 2018/06/11 15:14:11 [emerg] 17382#0: unexpected end of file, expecting ";" or "}" in /etc/nginx/nginx.conf:48
Suspecting a conversion error since I'm working in Wondows environment with WinSCP & Putty, I've tried a dos2unix conversion, but the error is still here ... Any help would be appreciated...