mirror of
https://gitlab.vegova.si/rkv/prosojnice.git
synced 2025-05-31 08:49:07 +00:00
Fix apache rewrite
This commit is contained in:
parent
5fb8b48eea
commit
47b5df95bc
@ -12,6 +12,9 @@ RUN yarn build
|
|||||||
|
|
||||||
FROM httpd:2.4-alpine
|
FROM httpd:2.4-alpine
|
||||||
|
|
||||||
|
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf && \
|
||||||
|
sed -i 's#AllowOverride [Nn]one#AllowOverride All#' /usr/local/apache2/conf/httpd.conf
|
||||||
|
|
||||||
COPY --from=build /app/dist/ /usr/local/apache2/htdocs/
|
COPY --from=build /app/dist/ /usr/local/apache2/htdocs/
|
||||||
|
|
||||||
COPY .htaccess /usr/local/apache2/htdocs/.htaccess
|
COPY .htaccess /usr/local/apache2/htdocs/.htaccess
|
||||||
|
Loading…
x
Reference in New Issue
Block a user