mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15400] Make app.php routes work in vagrant
PHPBB3-15400
This commit is contained in:
parent
20984af029
commit
a4a928b156
1 changed files with 4 additions and 0 deletions
|
@ -43,4 +43,8 @@ sed -i '/^.*PHPBB_DISPLAY_LOAD_TIME.*$/s/^\/\/[[:blank:]]*//' ${PHPBB_CONFIG}
|
||||||
# Update the PHP memory limits (enough to allow phpunit tests to run)
|
# Update the PHP memory limits (enough to allow phpunit tests to run)
|
||||||
sed -i "s/memory_limit = .*/memory_limit = 1024M/" /etc/php/7.1/fpm/php.ini
|
sed -i "s/memory_limit = .*/memory_limit = 1024M/" /etc/php/7.1/fpm/php.ini
|
||||||
|
|
||||||
|
# Make routes work in vagrant (https://tracker.phpbb.com/browse/PHPBB3-15400)
|
||||||
|
sed -i '/^.*try_files.*$/s/index/app/' /etc/nginx/sites-enabled/phpbb.app
|
||||||
|
nginx -s reload
|
||||||
|
|
||||||
echo "Your board is ready at http://192.168.10.10/"
|
echo "Your board is ready at http://192.168.10.10/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue