use global index instead
This commit is contained in:
parent
b472f73d75
commit
d386b21d7d
|
@ -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 \
|
||||
|
|
|
@ -33,12 +33,6 @@ server {
|
|||
deny all;
|
||||
}
|
||||
|
||||
# ==== #
|
||||
# H5AI #
|
||||
# ==== #
|
||||
|
||||
index /_h5ai/public/index.php;
|
||||
|
||||
# ======= #
|
||||
# PHP-FPM #
|
||||
# ======= #
|
||||
|
|
Loading…
Reference in New Issue