added server_name param to php-fpm. Fixes #19
This commit is contained in:
parent
23b4647b3f
commit
64679be946
|
|
@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
### Fixed
|
### Fixed
|
||||||
- PASSBOLT-2158: corrected management of fullbaseurl throug url env variable
|
- PASSBOLT-2158: corrected management of fullbaseurl throug url env variable
|
||||||
- PASSBOLT-2164: corrected typo on email_transport env variable
|
- PASSBOLT-2164: corrected typo on email_transport env variable
|
||||||
|
- PASSBOLT-2166: http to https redirection fixed
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ server {
|
||||||
fastcgi_split_path_info ^(.+\.php)(.+)$;
|
fastcgi_split_path_info ^(.+\.php)(.+)$;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_param SERVER_NAME $http_host;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ {
|
location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ {
|
||||||
|
|
@ -86,6 +87,7 @@ server {
|
||||||
fastcgi_split_path_info ^(.+\.php)(.+)$;
|
fastcgi_split_path_info ^(.+\.php)(.+)$;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_param SERVER_NAME $http_host;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ {
|
location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue