Update Production to latest version #17
@ -1,5 +1,9 @@
|
||||
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
|
@ -85,24 +85,32 @@
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php /* Link to archive under the list of builds. */ ?>
|
||||
<div class="builds-archive">
|
||||
<?php if ($lister->isExperimental()) { ?>
|
||||
<?php if ($lister->getBranch()) { ?>
|
||||
<a href="/download/experimental/">All Branches</a> |
|
||||
<?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">
|
||||
<?php if ($lister->isExperimental()) { ?>
|
||||
<?php if ($lister->getBranch()) { ?>
|
||||
<a href="/download/experimental/">All Branches</a> |
|
||||
<?php } ?>
|
||||
<a href="/download/experimental/archive/">All Archived Builds</a>
|
||||
<?php } elseif ($lister->isPatch()) { ?>
|
||||
<?php if ($lister->getPatch()) { ?>
|
||||
<a href="/download/patch/">All Patches</a> |
|
||||
<?php } ?>
|
||||
<a href="/download/patch/archive/">All Archived Builds</a>
|
||||
<?php } elseif ($lister->isPythonModule()) { ?>
|
||||
<a href="/download/bpy/archive/">All Archived Builds</a>
|
||||
<?php } else { ?>
|
||||
<a href="/download/daily/archive/">All Archived Builds</a>
|
||||
<?php } ?>
|
||||
<a href="/download/experimental/archive/">All Archived Builds</a>
|
||||
<?php } elseif ($lister->isPatch()) { ?>
|
||||
<?php if ($lister->getPatch()) { ?>
|
||||
<a href="/download/patch/">All Patches</a> |
|
||||
<?php } ?>
|
||||
<a href="/download/patch/archive/">All Archived Builds</a>
|
||||
<?php } elseif ($lister->isPythonModule()) { ?>
|
||||
<a href="/download/bpy/archive/">All Archived Builds</a>
|
||||
<?php } else { ?>
|
||||
<a href="/download/daily/archive/">All Archived Builds</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -42,7 +42,7 @@ function getEnvId() {
|
||||
$env_id = 'LOCAL';
|
||||
|
||||
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";
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user