diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index 36a08fa03..7289f08a3 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -261,7 +261,7 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf"); 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 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf"); ); $this->commit = $this->saved_outputs->get('git_commit_sha'); } -} +} \ No newline at end of file