Add full project files

This commit is contained in:
root
2026-07-04 19:24:56 +03:30
parent d54f5441a3
commit b245e7b71a
835 changed files with 30149 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# blog.modstagram.com — وردپرس / وبلاگ
# اگر وردپرس روی پورت دیگری است، proxy_pass را عوض کنید
server {
listen 80;
server_name blog.modstagram.com;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
# وردپرس معمولاً روی 8080 یا همان nginx جدا است
# اگر مسیر فایل دارید:
root /var/www/blog;
index index.php index.html;
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
root /var/www/blog;
fastcgi_pass unix:/var/run/php/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}