initial commit

This commit is contained in:
suricatingss
2026-05-29 22:03:51 +01:00
commit dd9936932c
5 changed files with 139 additions and 0 deletions

31
nginx/default.conf Normal file
View File

@@ -0,0 +1,31 @@
server {
listen 80;
listen [::]:80;
root /var/www/html;
index index.php index.html index.htm;
server_name localhost;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
expires max;
log_not_found off;
}
location ~* \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass wordpress:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location ~ \.htaccess {
deny all;
}
}