define forwarded_scheme before use #71
@ -1,3 +1,9 @@
|
|||||||
|
map $http_x_forwarded_proto $forwarded_scheme {
|
||||||
|
default $scheme;
|
||||||
|
http http;
|
||||||
|
https https;
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
listen [::]:80 default_server;
|
listen [::]:80 default_server;
|
||||||
|
Loading…
Reference in New Issue
Block a user