pass HTTP schema through in case proxied

This commit is contained in:
hackerESQ
2024-09-09 15:39:30 -05:00
parent b1d7acbdba
commit 6859b712d0
+3 -1
View File
@@ -9,11 +9,13 @@ server {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass investbrain-app:9000;
fastcgi_param HTTPS $http_x_forwarded_proto;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass investbrain-app:9000;
}
location ~ /\.ht {