nginx: Fix SSL handshake errors
This commit is contained in:
parent
7144947b5d
commit
7c195babbb
@ -46,6 +46,9 @@
|
|||||||
makeLuaPath = lib.concatMapStringsSep ";" luaPath;
|
makeLuaPath = lib.concatMapStringsSep ";" luaPath;
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
|
# https://stackoverflow.com/questions/38931468/nginx-reverse-proxy-error14077438ssl-ssl-do-handshake-failed
|
||||||
|
proxy_ssl_server_name on;
|
||||||
|
|
||||||
lua_package_path '${makeLuaPath extraPureLuaPackages};;';
|
lua_package_path '${makeLuaPath extraPureLuaPackages};;';
|
||||||
lua_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
|
lua_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
|
||||||
lua_ssl_verify_depth 5;
|
lua_ssl_verify_depth 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user