You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to forward http traffic to https, if there is a certificate found. We're using the has_certificate method for this. We've implemented the example code but nginx fails with the following log line:
lua entry thread aborted: runtime error: rewrite_by_lua(default.conf:34):2: attempt to call method 'has_certificate' (a nil value)
I've placed the code inside the server block listening on port 80.
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered:
I'm looking to forward http traffic to https, if there is a certificate found. We're using the has_certificate method for this. We've implemented the example code but nginx fails with the following log line:
lua entry thread aborted: runtime error: rewrite_by_lua(default.conf:34):2: attempt to call method 'has_certificate' (a nil value)
I've placed the code inside the server block listening on port 80.
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: