2023-04-14 12:50:35 +00:00
|
|
|
:80 {
|
2023-04-14 13:56:31 +00:00
|
|
|
request_header +X-Forwarded-Proto "https"
|
2023-04-14 12:50:35 +00:00
|
|
|
root * /var/www/html
|
2023-04-14 13:56:31 +00:00
|
|
|
php_fastcgi wordpress:9000 {
|
|
|
|
header_up +X-Forwarded-Proto "https"
|
|
|
|
}
|
|
|
|
header +X-Forwarded-Proto "https"
|
2023-04-14 12:50:35 +00:00
|
|
|
encode gzip
|
|
|
|
file_server
|
|
|
|
}
|