Files
Scheduler/docker/nginx/nginx.conf
oskarb e608f433e9
Some checks failed
Deploy App / build-and-deploy (push) Failing after 2m5s
oskarb-patch-2 (#2)
Reviewed-on: #2
2025-08-31 08:10:22 +02:00

22 lines
428 B
Nginx Configuration File

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;
}
}