Skip to content

Commit

Permalink
build: nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfromyeg committed Jan 7, 2024
1 parent bb09b92 commit ddeff2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ server {
listen 80;
server_name api.bereal.michaeldemar.co;

# Redirect all HTTP traffic to HTTPS
return 301 https://$host$request_uri;
location / {
return 301 https://$host$request_uri;
}
}

server {
Expand Down

0 comments on commit ddeff2e

Please sign in to comment.