1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-06 00:43:02 +02:00

Merge pull request #5065 from rubencm/ticket/15400

[ticket/15400] Make app.php routes work in vagrant
This commit is contained in:
Marc Alexander 2017-12-27 19:27:03 +01:00
commit 6b98cc9ae8
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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)
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/"