1
0

🏗️」 wip: wordpress nearly working need to fix title set and admin name and pass

This commit is contained in:
2025-02-15 19:22:32 +01:00
parent 2ac613440c
commit cbda27a044
8 changed files with 95 additions and 23 deletions

View File

@ -0,0 +1,26 @@
server {
listen 8443 ssl;
server_name _;
root /var/www/wordpress;
index index.php;
ssl_certificate $NGINX_SSL_CERT_FILE;
ssl_certificate_key $NGINX_SSL_KEY_FILE;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_session_timeout 10m;
keepalive_timeout 60;
location / {
try_files $${q}uri $${q}uri/ =404;
}
location ~ \.php$ {
fastcgi_pass $NGINX_PHP_HOST:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi.conf;
}
}

View File

@ -3,7 +3,7 @@ server {
server_name adjoly.42.fr www.adjoly.42.fr;
root /var/www/html;
root /var/www/wordpress;
index index.php;
ssl_certificate $NGINX_SSL_CERT_FILE;