Docker: Forward real hostname instead of "localhost"

This commit is contained in:
Mirko 2020-04-02 03:17:00 +02:00 committed by GitHub
parent cc30ccf627
commit 22939a21b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ http {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SERVER_NAME $host;
}
location ~ /data {