Skip to content

Commit

Permalink
Update http.conf.template
Browse files Browse the repository at this point in the history
  • Loading branch information
thebalaa authored May 16, 2024
1 parent b56a78a commit c7d44f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gateway/http.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ server {
#access_log /var/log/nginx/host.access.log main;

set $target http://$subdomain-$domain-$tld;

if ($app != '') {
set $target http://$app-$subdomain-$domain-$tld;
}

if ($subdomain = '') {
set $target http://$domain-$tld;
}
Expand Down

0 comments on commit c7d44f3

Please sign in to comment.