Add docker/nginx/nginx.conf

This commit is contained in:
2025-08-31 08:09:04 +02:00
parent f9fb619666
commit b62549ad90

21
docker/nginx/nginx.conf Normal file
View File

@@ -0,0 +1,21 @@
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;
}
}