Skip to content

Commit

Permalink
fix(router): Fix app_name issue
Browse files Browse the repository at this point in the history
  • Loading branch information
krancour committed Jun 1, 2016
1 parent 4ef4666 commit e266008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ http {
server {
listen 8080 default_server reuseport{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
listen 6443 default_server ssl{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
set $app_name "router-default-vhost";
{{ if $routerConfig.PlatformCertificate }}
ssl_protocols {{ $sslConfig.Protocols }};
ssl_certificate /opt/router/ssl/platform.crt;
Expand All @@ -140,6 +141,7 @@ http {
server {
listen 9090 default_server;
server_name _;
set $app_name "router-healthz";
location ~ ^/healthz/?$ {
access_log off;
default_type 'text/plain';
Expand Down

0 comments on commit e266008

Please sign in to comment.