Skip to content

Commit

Permalink
feat: Improve nginx prod configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
drorganvidez committed Mar 21, 2024
1 parent d9839a5 commit 02e5bec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions nginx/nginx.prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ http {
}
}

server {
listen 80;
server_name doi.uvlhub.io;

location / {
proxy_pass http://web; # Reenviar las peticiones al backend
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

server {
listen 443 ssl;

Expand Down

0 comments on commit 02e5bec

Please sign in to comment.