2 Commits

Author SHA1 Message Date
599aba92d2 Update Dockerfile.prod 2025-08-31 08:03:14 +02:00
da8360a7cf Update docker-compose.prod.yml 2025-08-31 08:00:44 +02:00
2 changed files with 1 additions and 22 deletions

View File

@@ -65,6 +65,6 @@ RUN chown -R www-data:www-data storage bootstrap/cache
FROM nginx:1.27-alpine AS nginx
WORKDIR /var/www/html
COPY --from=final /var/www/html/public ./public
COPY ./docker/nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
CMD ["php-fpm"]

View File

@@ -1,21 +0,0 @@
server {
listen 80;
server_name scheduler.oskarmikael.com;
root /var/www/html/public;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass app:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /\.ht {
deny all;
}
}