Update Production to latest version #17
@ -1,5 +1,9 @@
|
|||||||
FROM php:8.1-apache
|
FROM php:8.1-apache
|
||||||
|
|
||||||
RUN a2enmod proxy && a2enmod rewrite && a2enmod headers
|
RUN a2enmod proxy \
|
||||||
|
&& a2enmod rewrite \
|
||||||
|
&& a2enmod headers \
|
||||||
|
&& a2enmod proxy_wstunnel \
|
||||||
|
&& a2enmod proxy_http
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
@ -85,7 +85,13 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php /* Link to archive under the list of builds. */ ?>
|
<?php /* Link to archive under the list of builds, if page is not archive. */ ?>
|
||||||
|
<?php
|
||||||
|
$pagePath = $_SERVER['REQUEST_URI'];
|
||||||
|
|
||||||
|
// Check if page is not archive
|
||||||
|
if (!(substr($pagePath, -8) == "archive/")):
|
||||||
|
?>
|
||||||
<div class="builds-archive">
|
<div class="builds-archive">
|
||||||
<?php if ($lister->isExperimental()) { ?>
|
<?php if ($lister->isExperimental()) { ?>
|
||||||
<?php if ($lister->getBranch()) { ?>
|
<?php if ($lister->getBranch()) { ?>
|
||||||
@ -103,6 +109,8 @@
|
|||||||
<a href="/download/daily/archive/">All Archived Builds</a>
|
<a href="/download/daily/archive/">All Archived Builds</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
||||||
|
endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -42,7 +42,7 @@ function getEnvId() {
|
|||||||
$env_id = 'LOCAL';
|
$env_id = 'LOCAL';
|
||||||
|
|
||||||
if (preg_match('/\b\.blender.org\b/', $host_id)) {
|
if (preg_match('/\b\.blender.org\b/', $host_id)) {
|
||||||
if (preg_match('/\b\uatest\b/', $host_id)) {
|
if (preg_match('/\b\.uatest\b/', $host_id)) {
|
||||||
$env_id = "UATEST";
|
$env_id = "UATEST";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user