Skip to content
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

htpasswd-auth-server.lua:119: attempt to index local 'nof' (a nil value) #1

Closed
bugz8unny69 opened this issue Jun 25, 2017 · 1 comment

Comments

@bugz8unny69
Copy link

Hi,

htpasswd-auth-server exits with error here:

lua: ...rc/htpasswd-auth-server/bin/htpasswd-auth-server.lua:119: attempt to index local 'nof' (a nil value) stack traceback: ...rc/htpasswd-auth-server/bin/htpasswd-auth-server.lua:119: in main chunk [C]: ?

A bug?

@jprjr
Copy link
Owner

jprjr commented Jun 26, 2017

Hm - I think I need to add some more checks to print out better error messages.

The script tries to create a directory and write out an nginx config file before launching nginx. I'm guessing either it failed to make the directory or open the file for writing. By default, it tries to use $HOME/.htpasswd-auth-server/nginx.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants