Namespace and ClassPath rewrites

This commit is contained in:
2022-11-18 18:06:46 +01:00
parent c277aababc
commit 951ff14c5f
217 changed files with 1017 additions and 936 deletions

View File

@@ -1,4 +1,4 @@
FROM nginx:latest
WORKDIR "/application"
RUN mkdir -p /application/core/Configuration
RUN mkdir -p /application/Site/Configuration
RUN chown -R www-data:www-data /application

View File

@@ -24,7 +24,7 @@ server {
}
# deny access to specific directories
location ~ ^/(files/uploaded|adminPanel|docker|core|test)/.*$ {
location ~ ^/(files/uploaded|adminPanel|docker|Site|Core|test)/.*$ {
rewrite ^(.*)$ /index.php?site=$1;
}