feat: setup custom webdevops Dockerfile with explicit PHP 8.4 Zemailnator extensions and configs
This commit is contained in:
25
dockerizer/vhost.conf
Normal file
25
dockerizer/vhost.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
server_name _;
|
||||
|
||||
root "/code/public";
|
||||
index index.php;
|
||||
|
||||
client_max_body_size 50m;
|
||||
|
||||
access_log /docker.stdout;
|
||||
error_log /docker.stderr warn;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
fastcgi_read_timeout 600;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user