Skip to content

Commit 2610c09

Browse files
authored
Add https redirect (#89)
1 parent 8418821 commit 2610c09

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

examples/pilot/nginx/templates/service.conf.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ map $host $backend {
33
${COLLECTOR_DOMAIN} collector:8080;
44
}
55

6+
server {
7+
listen 80 default_server;
8+
server_name _;
9+
return 301 https://$host$request_uri;
10+
}
11+
612
server {
713
server_name reverseproxy;
814

0 commit comments

Comments
 (0)