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 }}"
|
image: "{{ phpvms_docker_image }}"
|
||||||
restart: always
|
restart: always
|
||||||
command: sh -c "
|
command: sh -c "
|
||||||
sed -i
|
cp -r /var/www/html/resources_in/* /var/www/html/resources
|
||||||
'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
|
|
||||||
&& php-fpm"
|
&& php-fpm"
|
||||||
environment:
|
environment:
|
||||||
PHP_OPCACHE_ENABLE: 1
|
PHP_OPCACHE_ENABLE: 1
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,7 @@ http://{{ phpvms_domain }} {
|
||||||
|
|
||||||
file_server
|
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