Fix https stuff in phpvms
This commit is contained in:
parent
64e1381513
commit
254501c6a2
2 changed files with 4 additions and 6 deletions
|
|
@ -87,11 +87,7 @@ phpvms_compose_base:
|
|||
image: "{{ phpvms_docker_image }}"
|
||||
restart: always
|
||||
command: sh -c "
|
||||
sed -i
|
||||
's/Paginator::useBootstrap();/Paginator::useBootstrap();
|
||||
\\\\Illuminate\\\\Support\\\\Facades\\\\URL::forceScheme(\"https\");/'
|
||||
app/Providers/AppServiceProvider.php
|
||||
&& cp -r /var/www/html/resources_in/* /var/www/html/resources
|
||||
cp -r /var/www/html/resources_in/* /var/www/html/resources
|
||||
&& php-fpm"
|
||||
environment:
|
||||
PHP_OPCACHE_ENABLE: 1
|
||||
|
|
|
|||
|
|
@ -5,5 +5,7 @@ http://{{ phpvms_domain }} {
|
|||
|
||||
file_server
|
||||
|
||||
php_fastcgi phpvms-app:9000
|
||||
php_fastcgi phpvms-app:9000 {
|
||||
header_up X-Forwarded-Proto https
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue