Skip to content

Commit

Permalink
Allow azure_landing endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjb committed Jan 19, 2024
1 parent a95d6e4 commit 9c488cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion certbot-nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
location ~* ^/(generate|manage|download|history|settings|resources/.*|legal)$ {
location ~* ^/(generate|azure_css_landing|manage|download|history|settings|resources/.*|legal)$ {
if ($scheme = "http") {
return 301 https://$server_name$request_uri;
}
Expand Down
2 changes: 1 addition & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ http {
proxy_set_header X-Forwarded-Host $server_name;

}
location ~* ^/(generate|manage|download|history|settings|resources/.*|legal)$ {
location ~* ^/(generate|azure_css_landing|manage|download|history|settings|resources/.*|legal)$ {
proxy_pass http://frontend:8082;
proxy_redirect off;
proxy_set_header Host $host;
Expand Down

0 comments on commit 9c488cb

Please sign in to comment.