Skip to content

Commit

Permalink
Merge pull request #38 from Seburan/fix-home-redirect-issue
Browse files Browse the repository at this point in the history
[home] fix redirect issue
  • Loading branch information
JackJey authored Jul 13, 2023
2 parents 40ff75b + ed43100 commit b2c9a91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions services/home/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
server {
listen ${PORT};
server_name ${HOME_HOST};

# https://stackoverflow.com/questions/62648644/hosting-docusaurus-v2-using-nginx
# prevent docusaurus to create a redirect to Cloud Run Endpoint or port 8080
absolute_redirect off;

location / {
root /usr/share/nginx/html;
}
Expand Down

0 comments on commit b2c9a91

Please sign in to comment.