wordpress: init

This commit is contained in:
starnakin 2023-10-05 10:37:04 -04:00
parent 36cd412775
commit 231807c918

View File

@ -5,11 +5,17 @@ server {
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
root /var/www/html;
root /var/www/wordpress;
index index.html;
index index.php;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_pass wordpress:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}