Merge pull request 'define forwarded_scheme before use' () from bugfix/pass-scheme-to-fastcgi into master

Reviewed-on: 
This commit is contained in:
Bence Pőcze 2023-09-28 15:00:21 +02:00 committed by Gitea
commit 65dac4640a
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

@ -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;