fix: nginx try_files

This commit is contained in:
Andras Bacsai 2023-07-09 15:32:19 +02:00
parent 7bfeb6c177
commit 5570cea6b1

View File

@ -261,7 +261,7 @@ private function build_image()
location / {
root /usr/share/nginx/html;
index index.html;
try_files \$uri \$uri/index.html \$uri/ /index.html =404;
try_files \$uri \$uri.html \$uri/index.html \$uri/ /index.html =404;
}
error_page 500 502 503 504 /50x.html;
@ -647,4 +647,4 @@ private function clone_repository()
);
$this->commit = $this->saved_outputs->get('git_commit_sha');
}
}
}