Skip to content
Snippets Groups Projects
Commit 2bb9e2cb authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

test ssl

parent 9383272a
No related branches found
No related tags found
1 merge request!942render page for linkedin
...@@ -46,14 +46,14 @@ server { ...@@ -46,14 +46,14 @@ server {
# proxy_set_header must be outside if clause (cf. https://stackoverflow.com/questions/16500594/why-i-cant-put-proxy-set-header-inside-an-if-clause ) # proxy_set_header must be outside if clause (cf. https://stackoverflow.com/questions/16500594/why-i-cant-put-proxy-set-header-inside-an-if-clause )
proxy_set_header User-Agent ""; proxy_set_header User-Agent "";
proxy_ssl_verify off;
proxy_ssl_server_name on;
proxy_ssl_session_reuse off;
proxy_ssl_protocols TLSv1.2 TLSv1.3;
if ($prerender = 1) { if ($prerender = 1) {
# For use of proxy_pass within a regular expression location, cf. https://stackoverflow.com/a/53354944 # For use of proxy_pass within a regular expression location, cf. https://stackoverflow.com/a/53354944
proxy_pass https://$host/api/render/$uri; proxy_pass https://$host/api/render/$uri;
proxy_ssl_verify off;
proxy_ssl_server_name on;
proxy_ssl_session_reuse off;
proxy_ssl_protocols TLSv1.2 TLSv1.3;
} }
# if no prerender, apply default angular route # if no prerender, apply default angular route
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment