This commit is contained in:
Ubuntu
2025-07-08 00:43:38 +00:00
parent 4aed7a1cbb
commit 9f320c72ab
5 changed files with 25 additions and 7 deletions
+9 -5
View File
@@ -9,10 +9,14 @@ server {
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
proxy_pass http://wordpress:9000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
root /var/www/html;
index index.php index.html;
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass wordpress:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
}