use global index instead

This commit is contained in:
Daniel Wolf 2018-05-15 00:33:50 -04:00
parent b472f73d75
commit d386b21d7d
2 changed files with 1 additions and 6 deletions

View File

@ -13,6 +13,7 @@ RUN echo "====== NOT MUCH TO DO ======" \
&& git clone https://github.com/lrsjng/h5ai.git && cd h5ai \
&& npm install && npm run build \
&& unzip build/*.zip -d /var/www/html/ \
&& sed -i 's/index.html/index.html \/_h5ai\/public\/index.php/g' /etc/nginx/nginx.conf \
\
&& echo "====== CLEANUP ======" \
&& cd /usr/src \

View File

@ -33,12 +33,6 @@ server {
deny all;
}
# ==== #
# H5AI #
# ==== #
index /_h5ai/public/index.php;
# ======= #
# PHP-FPM #
# ======= #