Skip to content

Commit

Permalink
fix: nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Jan 1, 2024
1 parent e2e80b1 commit 6becf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app/components/nginx/resources/server.http.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ server {

return 418;
}
<% if ( privateHrrpServerUpstream && acmeChallengesUrl ) { -%>
<% if ( server.port === 80 && privateHrrpServerUpstream && acmeChallengesUrl ) { -%>

location /.well-known/acme-challenge/ {
rewrite /.well-known/acme-challenge/(.*) <%- acmeChallengesUrl %>/$1 break;
Expand Down

0 comments on commit 6becf8b

Please sign in to comment.