@blakearoberts/visage 0.0.3 → 0.0.4-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -0
- package/dist/render/nginx.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -933,6 +933,11 @@ http {
|
|
|
933
933
|
<%_ if (upstream.scheme === 'https') { %>
|
|
934
934
|
proxy_ssl_server_name on;
|
|
935
935
|
proxy_ssl_name <%~ upstream.host %>;
|
|
936
|
+
<%_ if (upstream.external) { %>
|
|
937
|
+
proxy_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
|
|
938
|
+
proxy_ssl_verify on;
|
|
939
|
+
proxy_ssl_verify_depth 3;
|
|
940
|
+
<%_ } %>
|
|
936
941
|
<%_ } %>
|
|
937
942
|
proxy_pass <%~ upstream.scheme %>://<%~ name %>;
|
|
938
943
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nginx.d.ts","sourceRoot":"","sources":["../../src/render/nginx.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"nginx.d.ts","sourceRoot":"","sources":["../../src/render/nginx.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AA8InE,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAU3D"}
|
package/package.json
CHANGED