Skip to content

Commit

Permalink
feat: Added 443 server
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Oct 3, 2024
1 parent 8173510 commit e592a5e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions the.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,30 @@ server {
}

}



server {
listen 443 ssl;

ssl_certificate /db/upsonic.origin.pem;
ssl_certificate_key /db/upsonic.private.pem;

location /first {
proxy_pass http://localhost:3000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_read_timeout 500;
}

location /second {
proxy_pass http://localhost:3001;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_read_timeout 500;
}
location /second/static {
alias /app/Server/upsonic_on_prem/dash/staticfiles;
}

}

0 comments on commit e592a5e

Please sign in to comment.