feat: implement project management system with Nginx configuration templates and automated host file updates

This commit is contained in:
Ümit Tunç
2026-04-02 20:31:22 +03:00
parent ac30e71672
commit 4184d137e6
17 changed files with 2181 additions and 176 deletions
+7 -1
View File
@@ -9,12 +9,14 @@ http {
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server_names_hash_bucket_size 64;
server {
listen {{LISTEN_ADDRESS}}:{{PORT}};
server_name localhost;
root "{{ROOT}}";
index index.php index.html index.htm;
autoindex on;
location / {
# Try global root first, fallback to @project_fallback if not found
@@ -35,8 +37,10 @@ http {
}
return 404;
}
# Subdirectory access for projects (legacy support)
{{PROJECT_LOCATIONS}}
{{PROJECTS}}
location /phpmyadmin {
alias "{{PHPMYADMIN_DIR}}";
@@ -58,4 +62,6 @@ http {
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
{{PROJECTS}}
}