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 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.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; error_page 500 502 503 504 /50x.html;
@@ -647,4 +647,4 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");
); );
$this->commit = $this->saved_outputs->get('git_commit_sha'); $this->commit = $this->saved_outputs->get('git_commit_sha');
} }
} }