fix: nginx try_files
This commit is contained in:
parent
7bfeb6c177
commit
5570cea6b1
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user